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? 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. Can someone provide me a comprehensive list for the installation? Thanks very much! Lei -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2002-Oct-21 11:12 UTC
[R] newbie question: call C function from R in Windows XP
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?Install perl like that web page (and readme.packages) suggests.> 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. Can someone > provide me a comprehensive list for the installation? Thanks very much!No location, as the locations etc change almost weekly. The file readme.packages does have a comprehensive list and a checklist. There is a portal provided, which you went to, and that too contains all the information. We can't do the clicking for you! -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thomas Lumley
2002-Oct-21 13:50 UTC
[R] newbie question: call C function from R in Windows XP
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._