Code coloring in Rstudio console when running whole script

Hi,

I am using R version 3.6.3 with Rstudio desktop 1.2.5042 and any editor theme other than the default black and white.

Depending on how I execute my code, the operations and functions will be colored in the console, or not.

For instance executing the following code with "Run current line or selection"...

1+1

...will display in the console...

1+1
[1] 2

...the first line will be colored, and the second white.

However, executing the same code with "Run all code in source file"...

1+1

...will display in the console...

1+1
[1] 2

...but both lines will be in white.

Can I run a whole script while still having code coloring in the console?

Cheers,

Untitled

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.