[R] outputing text colors

Peter Alspach Peter.Alspach at plantandfood.co.nz
Fri Mar 19 04:51:16 CET 2010


Tena koe

Perhaps the thread started earlier this week ([R] How good is R at
making publication quality tables?) would help you.

HTH ....

Peter Alspach

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of rtist
> Sent: Friday, 19 March 2010 2:37 p.m.
> To: r-help at r-project.org
> Subject: [R] outputing text colors
> 
> 
> Hi all,
> 
> I was wondering if there is a way to output text tables with the color
> of
> the text corresponding to a condition.
> 
> More specifically, I"m outputting an time series table and want the
> console
> colors to be green>0 and red<0.
> This is very easy to do in excel using conditional formatting. Any
> ideas on
> how to do it here?
> 
> thanks.
> P.S. I've thought about using a heatmap, but it might be complicated
> using
> an ts series object.
> --
> View this message in context: http://n4.nabble.com/outputing-text-
> colors-tp1598874p1598874.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list