Am 08.01.12 13:52, schrieb Vincent Zoonekynd: > On 7 January 2012 19:48, drflxms <drfl...@googlemail.com> wrote: > >> as I am dealing with complex confusion matrices, I wonder whether there >> might be a way to colour text/tabular data in R. I.e. imagine >> highlighting the true positive values or certain classes in a table. > > The "colorout" package does part of what you want: colouring the > output, in a terminal. > But some more work may be needed if you want to change the colours > depending on the values of your matrix. > > -- Vincent
Great! That is in fact almost exactly what I was looking for. Thank you very much for the hint!!! Working on a MacBook Pro (OS X Lion) and using Aquamacs (GNU EMACS) with ESS I can confirm that it runs on Mac just as described for Unix in general. Pretty Cool although - as you already mentioned - colouring depending on conditions is not implemented yet. I'll send an e-mail to the author, whether he thinks the library can be developed in that direction - don't know too much about the technical details of the shell unfortunately. But that may change ;) Felix ______________________________________________ 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.