0

Is there any solution to add in single cell in data.frame expression with multiple rows ? e.i

Single cell should look like:

|This is single row |
|expresion in R data frame |
|Simple Example |

Geron
  • 85
  • 1
  • 7
  • 2
    You can use a "\n" separated string. – Bing Nov 07 '18 at 21:16
  • Is this specifically for shiny? It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. – MrFlick Nov 07 '18 at 21:22

1 Answers1

1

What's the purpose? You can include a break character as Bing Sun suggests, you can include <br/> if you want a line break to be displayed in html. You can even nest a list within a cell.

urblg
  • 90
  • 7
  • I create app which allow users to add new and update current comments. I want add values to reactive data frame and display same current komment as rendertext in separate tab. – Geron Nov 08 '18 at 19:00
  • Used
    and htmlOutput works fine for me thank you.
    – Geron Nov 08 '18 at 19:06
  • Glad it worked! If that solved your problem could you mark my answer? – urblg Nov 08 '18 at 19:48