I think you're setting the colors incorrectly. My understanding from
reading the package docs is that you use setOutputColors to do so, and
not the options() approach. There are no options for background etc
that I'm aware of. Does that work if you run it in an interactive
session instead?

See
?setOutputColors
for help.

Also, you don't specify your OS and such: this only works in unix terminals.

Sarah

On Mon, Jan 12, 2015 at 1:58 PM, Ingrid Charvet <[email protected]> wrote:
> 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
>
>
>
-- 
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to