[ESS] Customizing the Syntax Highlighting in R

Paul Heinrich Dietrich paul.heinrich.dietrich at gmail.com
Sat Nov 21 04:17:15 CET 2009


I'm coming over to Emacs after using gvim, in which I built a R syntax
highlighting file with thousands of keywords, because I routinely use
numerous R packages.  In the default for Emacs + ESS, I see highlighting for
only a few things, such as <-, TRUE, if, and for.  For example, I would like
to add the following R functions as keywords, such as length, round, nrow,
names, and read.csv in the colour red.  Thank you for any suggestions.


Stephen Eglen wrote:
> 
> I don't think there is an easy way to do this -- there is the variable
> 
> inferior-ess-R-font-lock-keywords
> 
> but that is not easy for a beginner to edit.  Could you give an example
> of what you would like highlighted and in what colour?
> 
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
> 
> 

-- 
View this message in context: http://old.nabble.com/Customizing-the-Syntax-Highlighting-in-R-tp26443563p26453433.html
Sent from the ESS - Help mailing list archive at Nabble.com.



More information about the ESS-help mailing list