[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. 

-----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

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 =
I would like to know what the code does inorder to
come up with the value to assign to DK.


R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!

More information about the R-help mailing list