[ESS] looking for definitions of R functions

Lionel Henry ||one|@hry @end|ng |rom gm@||@com
Fri Jun 22 11:26:36 CEST 2018

Oh and it also works well with packages loaded with devtools::load_all().

Use C-c C-w i to install a package with srcrefs and C-c C-w l to load it
with load_all(). Then M-x xref-find-definitions should work when cursor
is on a function name.


> On 22 juin 2018, at 11:15, Stephen Eglen via ESS-help <ess-help using r-project.org> wrote:
> Hello,
> what are people using (if anything) to find declarations of R functions
> within Emacs buffers?  e.g. when point is on the name of a function, you
> hit a keybinding to look up the definiton of that function.
> I just had some success with using dumb-jump.el
> https://github.com/jacktasia/dumb-jump  -- it has a notion of a project
> folder within which it will search for R function definitions
> dynamically using a grep variant.  (It doesn't always work -- e.g. I
> can't yet get it to fund hidden functions that begin with a period,
> since I think it does not recognise the . as beginning of a word.)
> But I'm just wondering if others had success with other packages?  We
> mention TAGS files in our ESS documentation, and rtags.
> Stephen
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

More information about the ESS-help mailing list