[R] newbie question: call C function from R in Windows XP

Thomas Lumley tlumley at u.washington.edu
Mon Oct 21 15:50:43 CEST 2002


On Mon, 21 Oct 2002, Lei Liu wrote:

> Hello,
>
> I need to call an C function MH.c in my R code in Windows XP. I downloaded
> the software form http://www.stats.ox.ac.uk/pub/Rtools/ and installed them.
> But when I run the command "..\bin\Rcmd SHLIB MH.c", I got message "perl is
> not recognized as and internal or external command, operable program or
> batch file". How should I do?

You need Perl.  I think that's the only other tool you will need.

> As a newbie, I just wonder if there is a setup file so I can install all
> the software I needed for compiling C code once and for all.

We can't provide a single package of everything, largely because of the
licensing terms of the Perl distribution.  There is a comprehensive list
in readme.packages.


	-thomas

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