Re: [Rd] include dll in R-package

From: LIYING HUANG <lxh37_at_psu.edu>
Date: Thu, 30 Aug 2012 11:59:29 -0400 (EDT)

One very simple question, probably not appropriate to post this to rdevel list, I put all Fortran files in src, when I do R CMD check, it tries to compile the files by alphabetical order. I tried to modify Makevar, but no luck after staring at the manual for hours. It seems that I could use R CMD SHLIB as following to compile the codes first to get around this problem before doing "R CMD check", but I am curious how to specify the file compilation order in Makevar? Thanks!

R CMD SHLIB -o lcca.dll error_handler.f90 constants.f90

Liy

On 28-08-2012, at 01:29, LIYING HUANG wrote:

>
> 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!
>

To mention a few:

deSolve
minpack.lm
nleqslv
rootSolve
xts

and probably many more.

Berend



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 31 Aug 2012 - 11:24:42 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 Fri 31 Aug 2012 - 14:00: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