[R] print color

From: Robert Mcfadden <robert-mcfadden_at_o2.pl>
Date: Tue 11 Jul 2006 - 06:00:26 EST


Dear R Users,

Is it possible to make R print the largest item in each row of a matrix X with red font? Example:

1 2 4 7

8 4 3 1

...............

Therefore 7 and 8 should be in red color.

I would appreciate any suggestion

Robert McFadden  

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 11 06:04:25 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 11 Jul 2006 - 08:15:26 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.