Joschi
Joschi

Reputation: 3039

Print Script with syntax highlighting R-Studio

After finishing statistical analysis 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 understanding within huge lines of code. So is there anyway I can print out the text with the highlighting I am used to see in the editor?

Upvotes: 2

Views: 1276

Answers (1)

Thomas
Thomas

Reputation: 44525

Try using knitr to produce a pdf (or some other output).

Upvotes: 1

Related Questions