Calling function with proto in Rinternals.h

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
09 Nov 2002 16:31:20 +0100


ripley@stats.ox.ac.uk writes:

> > However, you can't find those with is.loaded either. I'm getting rusty
> > on the linker issues, but I don't think you can expect to call just
> > any function in the C level interface using .Call. (Perhaps we need
> > another section in "Writing R Extensions"? -- I couldn't find a clear
> > indication of what, if any, functions are getting exported to .C and
> > friends from the main binary and by which mechanism.)
> 
> It's file src/appl/ROUTINES which is used to generate the appropriate
> headers: see src/appl/README.  Under Unix this is done in src/unix.
> 
> I don't think it should be in R-exts.texi, as only R-core can extend R
> this way (and those who do so know how to do so ...).

(...but tend to forget over time.)

Not as an extension mechanism, agreed, but it could be there in the
form of a reference for the entry points that are available to R code.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._