[R] Highlighting Text in Console
Steve Brooks
SBrooks at atassltd.co.uk
Wed Jun 9 11:05:22 CEST 2010
Thanks,
I guess my WinXP console isn't xterm 256 capable.
Any other thoughts?
-----Original Message-----
From: Romain Francois [mailto:romain.francois at dbmail.com]
Sent: 09 June 2010 09:57
To: Steve Brooks
Cc: r-help at r-project.org
Subject: Re: [R] Highlighting Text in Console
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