[R] Highlighting Text in Console

Romain Francois romain.francois at dbmail.com
Wed Jun 9 10:57:11 CEST 2010


It depends what you mean by "console". The package xterm256 on CRAN can 
do some of that on xterm 256 capable consoles.

See http://bit.ly/97cCbX

Romain

Le 09/06/10 10:50, Steve Brooks a écrit :
>
>
>
>
>
> Anyone know how I can highlight specific words/letters (e.g., bold, or
> different colour) when displaying text to the console using cat or
> equivalent?
>
>
>
> I can change e.g., the colour for everything by loading in a new
> Rconsole file, but what I really want to do is write "hello world" to
> the screen but with the word "world" highlighted in some way.
>
>
>
> I've searched the Web, the R manuals and the FAQ's but not found
> anything yet.
>
>
>
> Any help greatly appreciated.
>
>
>
> Thanks.


-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/98Uf7u : Rcpp 0.8.1
|- http://bit.ly/c6YnCi : graph gallery collage
`- http://bit.ly/bZ7ltC : inline 0.3.5



More information about the R-help mailing list