Re: [Rd] create R package include Fortran source code.

2014-07-21 Thread Charles Berry
yiqun yang gmail.com> writes: > > Thank you for your reply. > First I try "R CMD INSTALL barpkg", then it gives similiar things: > - [deleted] - > 2) I don't know how to chec

Re: [Rd] create R package include Fortran source code.

2014-07-21 Thread yiqun yang
Thank you for your reply. First I try "R CMD INSTALL barpkg", then it gives similiar things: - * installing *source* package 'barpkg' ... ** libs *** arch - i

Re: [Rd] create R package include Fortran source code.

2014-07-21 Thread Duncan Murdoch
On 21/07/2014 12:10 PM, yiqun yang wrote: Hello, all I am building a R package using Fortran source code. The Fortran code is a subroutine. I can use "R CMD SHLIB bar.f -o bar.o" to create the shared library. For the R package, I put the fortran file in the src/ and I use R code as follows: ".