If I understand you correctly - you can add a column to the output table for
your color variable?.
Otherwise, if you need to write the *text* in a different color, that's
probably something you want to do outside of R...
Rob Tirrell
On Mon, Feb 21, 2011 at 10:14, Yan Jiao <y.jiao@ucl.ac.uk> wrote:
> Dear brainy R users,
>
>
>
> I need to output a matrix, with two colors , meaning some elements using
> different color
>
> I normally use write.table(table.m, file="table file name.csv",
> sep=","), how could I pass the index for the color ?
>
>
>
>
>
> Many thanks
>
>
>
> yan
>
>
> **********************************************************************
> This email and any files transmitted with it are confide...{{dropped:10}}
>
> ______________________________________________
> 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.
>
[[alternative HTML version deleted]]