One option is library(R2HTML) ?HTML.cormat The thing you're after is traffic highlighting (via CSS or HTML tags). If HTML.cormat() doesn't do exactly what you want, modify the source code. (By the way, I haven't used R2HTML so far so maybe there's a more appropriate function.)
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Robert Mcfadden > Sent: Monday, July 10, 2006 4:00 PM > To: R-help@stat.math.ethz.ch > Subject: [R] print color > > 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 > ______________________________________________ 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