[Rd] useDynLib in older versions e.g. (2.10)

From: Tobias Abenius <tobias.abenius_at_chalmers.se>
Date: Wed, 20 Apr 2011 13:30:42 +0200


Hi,

Has something changed regarding the useDynLib in the NAMESPACE file in packages? I've written a package that works in e.g. 2.12/2.13 but simply cannot find the dynamic library under windows. The version on CRAN is older than the one I'm talking about and depends on a newer version of R but I want to make the package available to people with older versions.

> utils:::menuInstallLocal()

package 'lassoshooting' successfully unpacked and MD5 sums checked
> require(lassoshooting)

Loading required package: lassoshooting
Error in library.dynam(lib, package, package.lib) :

   shared library 'lassoshooting' not found In addition: Warning message:
package 'lassoshooting' was built under R version 2.13.0

I'm usually under linux and don't know about the gory details of .dll files.

NAMESPACE file



useDynLib(lassoshooting)
export(lassoshooting)

happy easter!

regards, Tobias

-- 
Tobias Abenius
Ph.D. Student, M.Sc. in Computer Science

Mathematical Statistics
Mathematical Sciences
University of Gothenburg

______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Thu 21 Apr 2011 - 07:03:30 GMT

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 Thu 21 Apr 2011 - 10:10:51 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