Re: [Rd] include dll in R-package

Date: Mon, 27 Aug 2012 19:29:35 -0400 (EDT)

I am quite new in R, I looked at R manual- how to build R Package, still not very clear. Yes, it would be very helpful if I could download a package having Fortran source codes to look at, Do you know any package built with Fortran source code? Thanks!


You need to setup a and at lest modify PKG_LIBS
and probably
depending on how you link to the DLL.

I suggest downloading example packages from Bioc / CRAN to look at.


On Fri, Aug 24, 2012 at 9:06 AM, LIYING HUANG < > wrote:


We have several projects in the center done by researchers over years in Fortran, there are copy right issues etc to prevent us from giving away the source codes, but a lot of social scientist are interested to use the program. We tried to use dlls to make plugins (available in our website) in various statistics platforms (SAS, STATA and R) to make it available to general public.

We used to be able to build R package using dll on version R-2.7.0, , but failed to build with newer R version with the same source. Any help is greatly appreciated.

When I try to build R package for newer version of R, I could build to get "lcca_1.0.0.tar.gz", but when I "R CMD check lcca_1.0.0.tar.gz", I got error message as:

and the message in 00install.out is:

Thanks a lot!
Liy mailing list mailing list Received on Tue 28 Aug 2012 - 06:48:21 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 Tue 28 Aug 2012 - 17:40:41 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive