Re: [Rd] include dll in R-package

From: LIYING HUANG <lxh37_at_psu.edu>
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!

Liy

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

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

Kasper

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

Hi,

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



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

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel 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 https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive