[ESS] Using the Emacs tags facility with R code

Deepayan Sarkar deepayan.sarkar at gmail.com
Tue Oct 21 03:16:56 CEST 2008


Hi,

this is not strictly ESS-related, but ESS users are likely to be interested...

I spent some time this weekend writing a tags generator for R code.
This is not done with etags, but rather using R's own parser. It
should be able to tag normal functions (even if the "function" keyword
doesn't appear in the same line as the function name), and also knows
about setClass, setMethod, etc. The relevant code is available at

http://dsarkar.fhcrc.org/rtags/

rtags.R has the implementation. The other two files shows sample usage.

Testing and feedback appreciated.

-Deepayan




More information about the ESS-help mailing list