[R] get information on .C code
R. Michael Weylandt <michael.weylandt@gmail.com>
michael.weylandt at gmail.com
Wed Feb 8 19:01:47 CET 2012
It's compiled code so you can't view it in R. Download the source from CRAN (in your browser, not through R), decompress it, and look through the src/ directory with your favorite text editor.
Michael
On Feb 8, 2012, at 8:51 AM, "J. Augusiak" <jaugusiak at googlemail.com> wrote:
> Dear R list,
>
> I have a package downloaded and looked up a function in there. Now I find
> that it uses C code (.C call) to do part of its job.
>
> However, when I wanted to look that part up by using getAnywhere() I was
> told that no object of that name could be found. Then I tried typing C.("
> funct.name") which only caused R to crash.
>
> Is there any way to look up the function?
>
> I'm not an expert and don't understand much of the technicalities mentioned
> in the Writing-R-extensions manual. I only would like to see how the
> method I think is used is actually implemented.
>
> I use R.2.13.1, Windows 7. The package I'm referring to is adehabitatLT,
> function acfang.ltraj -> res <- .C("acfangl",...)
>
> Many thanks in advance!
>
> Jacqueline
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list