[R] stepping into a .C call

Toby.Patterson@csiro.au Toby.Patterson at csiro.au
Mon Apr 26 01:15:32 CEST 2004


No - not from debug directly. You need to read "writing R extensions" in
the help. 
Cheers
T. 

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Fred J.
Sent: Monday, April 26, 2004 7:45 AM
To: r help
Subject: [R] stepping into a .C call

Hello
The Debug and mvbutils packages by Mark Bravington
have been a great help for me in learning R, until I
come to a line in the R code like ".C("fun name",...).
Is there a way to step into this call and see what the
source code does exactly to the supplied arrgs? 
One example in the "fdim" package, a line like 
DK <- .C("pointdif", as.integer(NumRow),
as.integer(NumCol), as.integer(X), NumpDif =
as.integer(NumpDif))
I would like to know what the code does inorder to
come up with the value to assign to DK.

Thanks

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list