On Fri, 25 Jun 2004 13:10:51 -0400, <[EMAIL PROTECTED]> wrote : >Hello, > We have been trying to use a well working Fortran program >in R but have been unable to upload it as part of our >undergraduate research. We are working with windows 98. >We've read all of what we can find, but cannot figure it >out. We've tried the dyn.load commands and whatnot. Do we >need a package in order to do this? Do we need to do it on a >computer that has the Fortran program on it...and should we >compile it before we even attempt to upload it? Do you have >any suggestions? Thanks for your time.
You definitely need to compile it before using dyn.load. Instructions for how to do this sort of thing are in Writing R Extensions manual, which is distributed with R. It is usually easiest to compile using the R script, e.g. R CMD SHLIB myprog.f Duncan Murdoch ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
