Message-ID: <Pine.SOL.3.91.1020326154537.3876E-100000@sam.stat.uiuc.edu>
Date: 2002-03-26T21:54:06Z
From: Masha Kocherginsky
Subject: compling C code in R for Windows
I have used Splus 3.4 for UNIX and I have a C file that I compiled using
"Splus COMPILE" and later called with dyn.load() and .C(). It works in Splus.
I want to do the same thing in R, as in just use my .s and .c files and
find the equivalent of "Splus COMPILE". I've ran into lots of problems
trying to do this in Windows so far, so please help!
My questions are:
- Do I need additional software (sometimes using Rcmd complains about not
understanding what perl is), such as Perl or C complier?
- Which directory do I need to put the files in, so that Rcmd can see
them? Or do I copy the Rcmd.exe into the directory where my .c files are?
If so, what other files do I need to copy?
- Are there any references on how to do it in a simple way, and examples
(online or printed)?
and
- How do I do it, exactly?
Thank you,
Maria Kocherginsky
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._