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]]
Marc Schwartz
2003-Jun-18 02:44 UTC
[R] Missing 'make' command to compile Windows DLL - was (no subject)
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! > > MarkSounds 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)
Hi all, Could I claim globle variable? Thank's Ken
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