[ESS] Go to function definition

Sam Steingold sds at gnu.org
Fri Sep 19 16:53:35 CEST 2014

> * Sebastien Vauban <fin-arjf-Q0jgNiE13UneT/vQbpsaJt at choyvp.tznar.bet> [2014-09-19 15:15:43 +0200]:
> I'm wondering whether there is a possibility to be able to jump to the
> definition of the function under point, like `f2' does in RStudio (to
> see the code of R functions such as `substring' or your own functions)?
> How do you do that?
> With a TAGS file?  How do you generate it for both your code and the
> R packages?

add to your Makefile:

ALL = list of all your R files
TAGS : $(addsuffix .R, $(ALL))
	$(R) --vanilla -e 'rtags(ofile="$@", recursive=TRUE, verbose=TRUE)'

Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265
http://www.childpsy.net/ http://mideasttruth.com http://ffii.org
http://islamexposedonline.com http://honestreporting.com http://truepeace.org
usually: can't pay ==> don't buy. software: can't buy ==> don't pay

More information about the ESS-help mailing list