[R] colouring a table, data.frame or matrix in an interactive R session

Jakson Alves de Aquino jalvesaq at gmail.com
Sun Jan 8 18:22:14 CET 2012

On Sun, Jan 8, 2012 at 9:52 AM, Vincent Zoonekynd <zoonek at gmail.com> wrote:
> On 7 January 2012 19:48, drflxms <drflxms at 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.

With the next version of the "colorout" package users will be able to
choose a different color for negative numbers. I'll release it soon
but anyone wanting to try it immediately may write directly to me.

Jakson Alves de Aquino
Federal University of Ceará
Social Sciences Department

More information about the R-help mailing list