[ESS] ID utils and R
Ramon Diaz-Uriarte
rdiaz02 at gmail.com
Fri Aug 25 02:52:45 CEST 2006
On 8/23/06, A.J. Rossini <blindglobe at gmail.com> wrote:
> It's also why I'm interested in Emacs' semantic extensions, which integrate
> with ECB. But it really boils down to writing a parser or lexer
>
> If SLIME (the lisp mode) can prompt for the completion of ANY function, we
> ought to be able to do so, as well, though Lisp is a much easier language to
> modify and manipulate.
>
> And ECB does have a means to auto-find functions in a source file, just not
> necessarily across sources (though that could be fixed...).
>
Is this the imenu part? Can ess-imenu-R be forced to work on all the R
files in a bunch of directories and keep that handy, somehow? (I tried
looking at the code, but I am still on p. 2 of the Intro to emacs lisp
... :-).
Best,
R.
>
> On 8/23/06, Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk52> wrote:
> >
> hi Ramon,
>
> > Has anybody tried to use ID Utils
> > (http://www.gnu.org/software/idutils/53) with R? I've
> googled, searched
> > the ess and R help lists, and have found nothing.
>
> I've not seen this, but previously used things like etags in C.
> (cscope is also a great tool in this regard, but for C only).
> It sounds interesting.
>
> > P.D. ID utils is somewhat like [ce]tags, and has support under Emacs
> > (see section 5.2 of the ID utils manual:
> >
> http://www.gnu.org/software/idutils/manual/idutils.html#Emacs-gid-interface
> 54
> > ). One nice feature is that, when searching for matches, it shows the
> > results in a compilation buffer, so you can see where, in each file,
> > the identifier is used, and visit that if you want. I like this a lot
> > better than "tags-search".
>
> I'd be interested in pursuing this sometime...
>
> (And, as a reminder, there is a simple example regexp for S functions
> listed in the ESS manual, i.e.
>
> etags --language=none
> --regex='/\([^ \t]+\)[ \t]*<-[ \t]*function/\1/' *.R
>
> Stephen
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch55 mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help56
>
>
>
>
> --
> best,
> -tony
>
> blindglobe at gmail.com57
> Muttenz, Switzerland.
> "Commit early,commit often, and commit in a repository from which we can
> easily
> roll-back your mistakes" (AJR, 4Jan05).
>
--
Ramon Diaz-Uriarte
Bioinformatics Unit
Spanish National Cancer Centre (CNIO)
http://ligarto.org/rdiaz
More information about the ESS-help
mailing list