title: how to insert new line in R shiny string
body: <p>In shiny, I have the following:</p>
  
  <pre><code>  output$sequenceText &lt;- renderText({
      showSequence()
    })
  
  showSequence &lt;- reactive({
    selectedSeqs &lt;- as.numeric(input$sequenceSelect)
    resultString &lt;- ""
    currentString &lt;-""
  
    for(i in selectedSeqs){
      currentString &lt;- paste(i, toString(myProts[i]), sep = ":")
      resultString &lt;- paste(resultString, currentString, sep = "\n")
    }
    return(resultString)
  
  })
  </code></pre>
  
  <p>However, it doesn't seem that the new line character is respected. How do I fix that?</p>
  
  <p>Thanks!</p>