[R] DLL/shared libraries and .Call()

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sat Apr 8 16:33:40 CEST 2000


Guido Masarotto <guido at sirio.stat.unipd.it> writes:

> On Sat, Apr 08, 2000 at 03:04:48PM +0200, Fredrik Vang wrote:
> > Please, someone, help me out. Does anybody have an appropriate R.a file (or whatever I need to resolve the symbols) for Win98/R-1.0.0 or some advice about how to get it to work under Linux? Has anyone been successful in using the .Call() interface?
> > 
> 
>   For the Windows part of the question: install rw1000sp.zip and
>   read the instructions in rw1000/readme.packages. They describe
>   how you can build 'libR.a', i.e., the export library for R.dll.
>   On my setting it is as easy as going to the appropriate directory
>   and type
>   > make BUILD=CYGWIN libR.a
>   
>   However, Windows and Linux, a 
>   > rgrep Rf_length_FG7SEXPREC */*.c */*.h %rgrep is a recursive grep
>   doesn't return nothing on the my current source tree. 
>   So, are you sure of the name?

Looks like a C++ mangling?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list