[R] Errors in making a DLL file

Uwe Ligges ligges at statistik.uni-dortmund.de
Sun Sep 21 11:30:17 CEST 2003



gxx4 at cwru.edu wrote:
> 
> Hi, all:
> 
> I want to call a c program in the windows version R, so I installed ActivePerl and
> MinGw, wrote the code below in command prompt:
> 
> Rcmd SHLIB filename.c
> 
> and I got the error message as follows:
> 
> Error: c:/R/rw1071/src/gnuwin32/MakeDLL 16: common syntax error.
> .....
> There are errors on line 16 18 20 22 25 28 43 44 45 47 49 50 51 52 53 79 80 81 83.
> 
> Has any one met the same problem before? Do I need other tools installed?
> 
> Best Wishes,
> Guan Xing
> 9/20/03
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

I've never seen this error, but for sure you haven't followed the
instructions in c:/R/rw1071/src/gnuwin32/readme.packages and the
"Writing R Extensions" manual closely enough (Are all the paths set? Do
you have the tool collection provided on Brians Ripley's page?).

Uwe Ligges




More information about the R-help mailing list