how to insert new line in R shiny string

前端 未结 5 2011
一整个雨季
一整个雨季 2020-12-01 15:50

In shiny, I have the following:

  output$sequenceText <- renderText({
    showSequence()
  })

showSequence <- reactive({
  selectedSeqs <- as.numer         


        
5条回答
  •  无人及你
    2020-12-01 16:30

    There is also the write(x, file = "") trick:

    renderPrint({
     write(showSequence(), file = "")
    })
    

    If the output is a verbatimTextOutput then this works.

提交回复
热议问题