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.

 

 


        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to