title: Shiny textOutput line break
body: <p>I have a list of objects, one of which is a prediction from a random forest model.</p>
  
  <p>The data looks like :</p>
  
  <pre><code> print(a$predict)
   1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 
   B  A  B  A  A  E  D  B  A  A  B  C  B  A  E  E  A  B  B  B 
  </code></pre>
  
  <p>I'm trying to get this printed to a shiny app.</p>
  
  <p>In my server.R file I have :</p>
  
  <pre><code>output$prediction &lt;- renderPrint({
      input$process
  
      withProgress(message = 'Making prediction. Please wait', value = 0.1, {
  
        isolate(
          print(modelset()$predict))
      })})
  </code></pre>
  
  <p>In my UI.R file I have :</p>
  
  <pre><code>tabPanel('Prediction', textOutput('prediction'))
  </code></pre>
  
  <p>The issue is that the shiny app outputs the object as 1 long string of text :</p>
  
  <p>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 B A B A A E D B A A B C B A E E A B B B Levels: A B C D E </p>
  
  <p>How can I get the output printed in the same way as we see in R studio?</p>
  
  <p>Thanks in advance. </p>