[R] building an exectuable as part of a package.
ligges at statistik.uni-dortmund.de
Tue Jun 25 17:46:42 CEST 2002
Doug Nychka wrote:
> I need some help figuring out how to compile and include a
> straightforward FORTRAN program as part an R package.
> This may sound strange but it will allow us access to some well tested
> code from within R.
> I think the executable should go into the exec subdirectory but need some
> help on how to signal the R build utility that some particular source
> should be compiled and linked as a standalone program.
You can start with the R manual "Writing R Extensions" and look at some
other package sources.
"S Programming" (by Venables and Ripley) will help either.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help