In shiny, I have the following:
output$sequenceText <- renderText({ showSequence() }) showSequence <- reactive({ selectedSeqs <- as.numer
for anyone reading this, you might also want to use tags$br(), which you simply have to insert as argument after a piece of text. For example,
tags$div( "a piece of text", tags$br(), "this will start from the new line now", tags$br(), "and this as well", "but not this" )