[R] Inspecting C code in an R package

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Sat Jun 11 18:37:37 CEST 2011


On Sat, Jun 11, 2011 at 5:31 PM, Layman123 <romanhornung at web.de> wrote:
> Thank you! Of course, I will read the posting guidelines. A subscriber helped
> me via e-mail telling me to use the grep-command, that is type in: grep
> "somename" *.c. For Windows users it's: findstr "somename" *.c.

 The problem here is that this will also find every time that function
is called in the C files. And also anytime something called somename2
is mentioned.

 Most decent programmers editors will parse code files and construct a
little database of where all your functions are defined so you can
quickly jump to the definition of a function. In emacs this is done
with a thing called 'etags'.

 But this is now beyond the scope of R-help...

Barry



More information about the R-help mailing list