Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Print with syntax color in R-Studio

Tags:

r

rstudio

In R I always like to print out the script since it gives a good overview and one can adjust eventual errors. I like the syntax highlighting in R-Studio because it facilitates reading and fast comprehension of code.

Is there a way to print out the text with the highlighting I see in the editor?

like image 553
rrg Avatar asked Sep 25 '15 19:09

rrg


Video Answer


1 Answers

Its not an R-Studio solution, but notepad++ will print R source with syntax highlighting.

like image 89
Ron Jensen Avatar answered Sep 21 '22 08:09

Ron Jensen