[R] linking object files

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Aug 18 00:02:38 CEST 1999


On Tue, 17 Aug 1999, Troels Ring wrote:

> Dear friends. I would like to link an object file made in C. 
Dyn.load rather wants to link a whole library and I only wanted to 
link this small object file. I followed instructions given for S - 
by Clive Loader in his software for changepoint handling and 
it is his object file I made from 
http://cm.bell-labs.com/cm/ms/departments/sia/clive/smcp.shar
> 
> Any dirty tricks or easy oversights ?

Welcome to the real world of porting software to R! 

I assume you are still on Windows. Believe me, by far the easiest way to do
this is to set up a small R package and build it using the instructions in
the README.packages file.  You can only use relocatable DLLs with R under
Windows (and only shared libraries on Unix).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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