[R] Inspecting C code in an R package

Sarah Goslee sarah.goslee at gmail.com
Sat Jun 11 17:03:03 CEST 2011


The easiest thing to do is download the source package from your local
CRAN mirror. That will contain all the R and other code.

Sarah

On Sat, Jun 11, 2011 at 10:50 AM, Layman123 <romanhornung at web.de> wrote:
> Hello everyone,
>
> Trying to comprehend code of an R package, I encountered the problem that
> the interesting part of the
> function I'm inspecting is written in C-Code and called by ".C("somename",
> ....)". Now I can't inspect the C-Code the function is calling since I can't
> find it in the folder of the package.
> Does someone know, where the corresponding C-Code ist stored, so I could
> inspect it and comprehend what is happening?
>
> Thank you very much in advance!
>
> Regards
> Roman
>

-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list