R-users E-mail: r-help at stat.math.ethz.ch Hi! I would like to produce DLL files to be linked to R objects on Windows98SE. The source files are written in Fortran77. I input the command below on R console. Rcmd SHLIB aaa.f The result is: Error: syntax error Does this mean that "Rcmd SHLIB aaa.f" contains symtax error, or "aaa.f" contains it? Or do I need to do something else before this procedure? Is perl required for this? ******** E-mail: takezawa at affrc.go.jp ******** ***** http://cse.naro.affrc.go.jp/takezawa/patent-e.html ***** -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Takezawa Kunio wrote:> > R-users > E-mail: r-help at stat.math.ethz.ch > > Hi! > > I would like to produce DLL files to be linked to > R objects on Windows98SE. The source files are > written in Fortran77. > > I input the command below on R console. > > Rcmd SHLIB aaa.f > > The result is: > > Error: syntax error > > Does this mean that "Rcmd SHLIB aaa.f" contains > symtax error, or "aaa.f" contains it? > Or do I need to do something else before > this procedure?The other way round: You have to type it in the windows shell, not in R. The path .../path-to-R/bin has to be set.> Is perl required for this?Yes, as well as the compiler and tools mentioned in the help files (e.g. .../src/gnuwin32/Install) that describe how to compile R for windows. For details see also the Extension Writers Manual. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
----- Original Message ----- From: "Takezawa Kunio" <takezawa at affrc.go.jp> To: <r-help at stat.math.ethz.ch> Sent: Monday, September 30, 2002 6:18 PM Subject: [R] "Rcmd SHLIB" does not work> R-users > E-mail: r-help at stat.math.ethz.ch > > Hi! > > I would like to produce DLL files to be linked to > R objects on Windows98SE. The source files are > written in Fortran77. > > I input the command below on R console. > > Rcmd SHLIB aaa.f > > The result is: > > Error: syntax errorYou don't do it within R. You need to do it in, say, Command Prompt window. Cheers, Ko-Kang Wang ------------------------------------------------ Ko-Kang Kevin Wang Post Graduate PGDipSci Student Department of Statistics University of Auckland New Zealand www.stat.auckand.ac.nz/~kwan022 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._