[Rd] Building R package with precompiled shared library

From: Francesco Finazzi <francesco.finazzi_at_unibg.it>
Date: Wed, 14 Sep 2011 09:40:44 +0200


Dear R users,

we are trying to build a R package that includes a precompiled shared library, let's say mylib.so. We created the skeleton of the package and we moved the mylib.so file into the libs folder that we created at the same level of the folders man and R. Moreover we created the file NAMESPACE and we added the line useDynLib(mylib, .registration=TRUE). The building step seems to work correctly but when we try to install the package we get

we cannot understand what's wrong and where R searches for the mylib.so files.

Any suggestion?

Thanks,

Michela and Francesco



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 14 Sep 2011 - 13:01:57 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 14 Sep 2011 - 14:20:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive