An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20030617/8ab8e4c3/attachment.pl
(no subject)
7 messages · Mark Piorecky, Marc Schwartz, Ko-Kang Kevin Wang +3 more
On Tue, 2003-06-17 at 21:19, Mark Piorecky wrote:
Hi all, I'm new to R and am trying to create a dll in order to be able to use the "dyn.load" function with a fortran script. I have a windows OS, have installed perl and the Path is recognized. I have also installed R 1.70 including the src (source code) folder.. But when I attempt to create the dll by excecuting "Rcmd SHLIB [-o autologdll] combo.f", in the windows command prompt, I get the following error message "'make' is not recognized as an internal or external command" Does anyone have some suggestions on what I may have missed? Thanx a ton! Mark
Sounds like you did not download and install Prof. Ripley's Tools package or if you did, the PATH environment variable is not set properly. If you did not download the Tools package, go here: http://www.stats.ox.ac.uk/pub/Rtools/ and download the Unix tools ZIP file in the Essentials section and read the remainder of the page, which provides further guidance. If you did download and extract that package, be sure to edit the PATH to reflect the location of those files. BTW, don't forget to update to R 1.7.1, which is now released and available on CRAN. HTH, Marc Schwartz
1) Please use some meaningful Subject. 2) Have you read Prof Ripley's http://www.stats.ox.ac.uk/pub/Rtools/ (hint: you may want to download the tools.zip file).
On Tue, 17 Jun 2003, Mark Piorecky wrote:
Date: Tue, 17 Jun 2003 20:19:32 -0600 From: Mark Piorecky <mpiorecky at hotmail.com> To: r-help at stat.math.ethz.ch Subject: [R] (no subject) Hi all, I'm new to R and am trying to create a dll in order to be able to use the "dyn.load" function with a fortran script. I have a windows OS, have installed perl and the Path is recognized. I have also installed R 1.70 including the src (source code) folder. But when I attempt to create the dll by excecuting "Rcmd SHLIB [-o autologdll] combo.f", in the windows command prompt, I get the following error message "'make' is not recognized as an internal or external command" Does anyone have some suggestions on what I may have missed? Thanx a ton! Mark [[alternate HTML version deleted]]
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Cheers, Kevin ------------------------------------------------------------------------------ "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." -- Charles Babbage (1791-1871) ---- From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki)
On Tue, 17 Jun 2003 20:19:32 -0600, you wrote:
Hi all, I'm new to R and am trying to create a dll in order to be able to use the "dyn.load" function with a fortran script. I have a windows OS, have installed perl and the Path is recognized. I have also installed R 1.70 including the src (source code) folder. But when I attempt to create the dll by excecuting "Rcmd SHLIB [-o autologdll] combo.f", in the windows command prompt, I get the following error message "'make' is not recognized as an internal or external command" Does anyone have some suggestions on what I may have missed?
"make" is a utility that's used in the build process. You can get copies of all the utilities you need from Brian Ripley's web page as described in $RHOME/readme.packages. You didn't mention that you had installed a Fortran compiler. If you haven't installed the recommended compiler (MinGW), you might find that some more work will be needed to get the scripts to work. Duncan Murdoch
Have you considered "get" or "assign"? If these do not seem appropriate, you may wish to resubmit your question being more specific, providing a very brief example of what you want to do. hth. spencer graves
Ken Lee wrote:
Hi all,
Could I claim globle variable?
Thank's
Ken
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
1 day later
Thanx to all who responded to my plea for help. You were right, I did not
have the Path environment set properly for the tools package. I get a
little further now, but still get an error message.
My Cmd Window looks like this:
Rcmd SHLIB combo.f
ar cr combo.a *.o
ranlib combo.a
gcc --shared -s -o combo.dll combo.def
omo.a -LC:/PROGRA~1/R/rw1070/src/gnuwin32 -lg2c -lR
Warning: .drectve '%.*s' unrecognized
Warning: .drectve '%.*s' unrecognized
Warning: .drectve '%.*s' unrecognized
Warning: .drectve '%.*s' unrecognized
Warning: .drectve '%.*s' unrecognized
Warning: .drectve '%.*s' unrecognized
Warning: .drectve '%.*s' unrecognized
I've read through the readme.packages text and have applied everything that
I think applies to my situation, except for that R is installed in "Program
Files". I will move it to a dir with ni spaces next.
Any other suggestions?
Mark
----- Original Message -----
From: "Marc Schwartz" <MSchwartz at MedAnalytics.com>
To: "Mark Piorecky" <mpiorecky at hotmail.com>
Cc: <r-help at stat.math.ethz.ch>
Sent: Tuesday, June 17, 2003 8:44 PM
Subject: Re: [R] Missing 'make' command to compile Windows DLL - was
(nosubject)
On Tue, 2003-06-17 at 21:19, Mark Piorecky wrote:
Hi all, I'm new to R and am trying to create a dll in order to be able to use the "dyn.load" function with a fortran script. I have a windows OS, have installed perl and the Path is recognized. I have also installed R 1.70 including the src (source code) folder.. But when I attempt to create the dll by excecuting "Rcmd SHLIB [-o autologdll] combo.f", in the windows command prompt, I get the following error message "'make' is not recognized as an internal or external command" Does anyone have some suggestions on what I may have missed? Thanx a ton! Mark
Sounds like you did not download and install Prof. Ripley's Tools package or if you did, the PATH environment variable is not set properly. If you did not download the Tools package, go here: http://www.stats.ox.ac.uk/pub/Rtools/ and download the Unix tools ZIP file in the Essentials section and read the remainder of the page, which provides further guidance. If you did download and extract that package, be sure to edit the PATH to reflect the location of those files. BTW, don't forget to update to R 1.7.1, which is now released and available on CRAN. HTH, Marc Schwartz