[R] changing color scheme in R in UNIX

Charles C. Berry cberry at tajo.ucsd.edu
Mon Jan 21 05:07:05 CET 2008

On Sun, 20 Jan 2008, Andrew Yee wrote:

> Hi, I've been using R in Windows but am now starting to use it more often in
> the UNIX environment.  In Windows, I'm used to the text provided by the user
> appearing in red, and the output from R appearing in blue.  Is there a way
> to achieve this in UNIX?

What you describe is called 'syntax highlighting'.

There are some editors that let you run R and provide syntax highlighting 
and other nifty features.

My first choice is emacs which has a package (aka mode) called ESS. There 
are links on the r-project home page (which for sime reason is timing out 
for me right now) to editors including emacs-ESS. Or go to the emacs-ESS 
home page


or try


where you will find links to 'what is the best editor' discussions.



> Thanks,
> Andrew
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at 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.

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901

More information about the R-help mailing list