In shiny, I have the following:
output$sequenceText <- renderText({ showSequence() }) showSequence <- reactive({ selectedSeqs <- as.numer
There is also the write(x, file = "") trick:
write(x, file = "")
renderPrint({ write(showSequence(), file = "") })
If the output is a verbatimTextOutput then this works.
verbatimTextOutput