[R] R console colours (R profile)

Ingrid Charvet Ingrid.Charvet at rms.com
Mon Jan 12 19:58:16 CET 2015


Hello R users,

I would like to set defaults text and background colours of my R console using R profile (to load automatically each time I start a new session)

So far my R profile is set up like this:

if(interactive()) {
suppressWarnings(require(colorout,quietly=T))
message("successfully loaded .Rprofile at ", date(), "\n")
}

options(background='black')
options(usertext='turquoise1')
options(normaltext='maroon1')

Unfortunately it doesn't work - when I open an R console I still get the white background, red usertext and blue normaltext.

What am I doing wrong?

Thanks





	[[alternative HTML version deleted]]



More information about the R-help mailing list