[R] dyn.load does not work
Torsten Hothorn
hothorn at ci.tuwien.ac.at
Thu May 4 13:57:10 CEST 2000
On Thu, 4 May 2000, Helgi Tomasson wrote:
> 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"
is dyntilr.o s shared library? I would expect dyntilr.so to be one. Under
Linux,
$> gcc -c dyntilr.c -o dyntilr.o
$> ld -shared -o dyntilr.so dyntilr.o
should work, or, much more simpler, create a package, put the sources in
./src and say
$> R INSTALL -l my_lib_path my_R_package
Torsten
>
> regards
>
> Helgi
>
> --
> Helgi Tomasson FAX: 354-552-6806
> University of Iceland PHONE:354-525-4571
> Faculty of Economics and Business Administration email:helgito at rhi.hi.is
> Oddi v/ Sturlugotu
> IS-101 Reykjavik
> ICELAND
>
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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