[R] dyn.load does not work
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu May 4 14:13:23 CEST 2000
> Date: Thu, 04 May 2000 12:01:55 +0000
> From: Helgi Tomasson <helgito at rhi.hi.is>
> X-Accept-Language: en
> To: r-help at stat.math.ethz.ch
> Subject: [R] dyn.load does not work
>
> Dear R-people
>
> Could someone give me a hint why dyn.load does not work
>
> > system("ls dyntilr.o")
> dyntilr.o
> >
>
> > dyn.load("dyntilr.o")
> Error in dyn.load(x) : unable to load shared library
> "/home/helgi/dyntilr.o"
On all the systems I know of foo.o is an object not a shared library
(and this is R not S-PLUS where dyn.load does load objects).
Try using R SHLIB foo.c to make foo.so and dyn.load that.
--
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