If this is RGui on Windows, no.  It supports only two colours of text 
(which you can set in the preferences dialiog box).

More generally, you send the appopriate escapes to your console to change 
colour, and the console/terminal documentation will tell you what those 
are.

On Wed, 23 Apr 2008, Applejus wrote:

>
> Hi,
>
> Is there a function that would allow me to print things in different colors
> to the CONSOLE, say one line in blue and another line in green?
> Right now, the print() function only prints in navy blue...
>
> Thanks!
> -- 
> View this message in context: 
> http://www.nabble.com/printing-to-the-console-in-color-tp16834851p16834851.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> 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.

PLEASE do.  We ask for minimal information that you have not supplied.


-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org mailing list
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