How to display verbatim code in R brilliant?

I am currently using helpTextin my file ui.Rto display some static code content. However, since the output is not a fixed width, the code looks like a mess. So how to display the verbatim code; fixed width to make it easy to read?

+4
source share
2 answers

I'm not sure I understand the problem, but the first solution will be renderVerbatim. If this does not cut it, you can watch ShinyAce , although it may be redundant for what you need; if it has good features like syntax highlighting for R.

+2
source
0

Source: https://habr.com/ru/post/1535893/


All Articles