[R] "Rcmd SHLIB" does not work

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Sep 30 10:12:41 CEST 2002


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list