An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120208/203ff8b2/attachment.pl>
get information on .C code
2 messages · J. Augusiak, michael.weylandt at gmail.com (R. Michael Weylandt
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.