Hi there, I was tryting to use "Rcmd SHLIB --help" on Windows RGui. However it always gives me sytax error message. I wonder whether you have any suggestion. Thanks in advance! Best, Yunda -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 11 Jun 2002, Yunda Huang wrote:> Hi there, > > I was tryting to use "Rcmd SHLIB --help" on Windows RGui. However it always > gives me sytax error message. I wonder whether you have any suggestion. > Thanks in advance!It's not a command for Rgui, but for a Windows command line (outside R). -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Yunda Huang wrote:> > Hi there, > > I was tryting to use "Rcmd SHLIB --help" on Windows RGui. However it always > gives me sytax error message. I wonder whether you have any suggestion. > Thanks in advance!You have to call Rcmd from the windows shell, not within R (if I understood right). It works for me on R-1.5.0 (patched), WinNT4.0. Do you have installed a recent version of perl? Please, tell us something about your R version and OS! Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi,> You have to call Rcmd from the windows shell, not within R (if I > understood right). > It works for me on R-1.5.0 (patched), WinNT4.0. Do you have installed a > recent version of perl? > Please, tell us something about your R version and OS! >I have Windows 2000 professional on my computer. The R version I have is rw1020. I tried Rcmd outside RGui -- Dos environment, but it still did not work out. Would the version of R or my OS be the problem? I will download R-1.5.0 then. Thanks so much for the reply from Brian Ripley, Uwe Ligges and Kolling Alfons. Best, Yunda -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Yunda Huang wrote:> > Hi, > > > You have to call Rcmd from the windows shell, not within R (if I > > understood right). > > It works for me on R-1.5.0 (patched), WinNT4.0. Do you have installed a > > recent version of perl? > > Please, tell us something about your R version and OS! > > > I have Windows 2000 professional on my computer. The R version I have > is rw1020. I tried Rcmd outside RGui -- Dos environment,Fortunately, Microsoft left DOS behind with WinNT, Win2000, WinXP (and just calls the windows command shell sometimes confusingly DOS prompt).> but it still did not work out. > Would the version of R or my OS be the problem? I will download R-1.5.0 then.1.2.0 is roughly 18 months old (and since there were several versions released in the meantime, it is really a good idea to report the version you are using!). I cannot remind if there were any related problems in it, but, anyway, it is highly recommended to upgrade to 1.5.0, or better 1.5.1, which will be released next week, AFAIK. And again my question: Do you have a (recent) version of perl? Did you install the required R source files (...\src\gnuwin32), which have to be selected explicitely in the Setup-Wizard for Windows (if your version is not self compiled)? Uwe Ligges> Thanks so much for the reply from Brian Ripley, Uwe Ligges and Kolling > Alfons.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
----- Original Message ----- From: "Yunda Huang" <yunda at alpha.oac.ucla.edu> To: "Uwe Ligges" <ligges at statistik.uni-dortmund.de> Cc: <r-help at stat.math.ethz.ch> Sent: Thursday, June 13, 2002 6:57 AM Subject: Re: [R] Rcmd on Windows> Hi, > > > You have to call Rcmd from the windows shell, not within R (if I > > understood right). > > It works for me on R-1.5.0 (patched), WinNT4.0. Do you have installed a > > recent version of perl? > > Please, tell us something about your R version and OS! > > > I have Windows 2000 professional on my computer. The R version I have > is rw1020. I tried Rcmd outside RGui -- Dos environment, but it still did > not work out. Would the version of R or my OS be the problem? I will > download R-1.5.0 then. >1) Do download R 1.5.0, or 1.5.1 which I think, will be released next week. Another thing you want to check, is $R_HOME\bin in your PATH? Cheers, Ko-Kang Wang ------------------------------------------------ Ko-Kang Kevin Wang Post Graduate PGDipSci Student Department of Statistics University of Auckland New Zealand www.stat.auckand.ac.nz/~kwan022 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Actually, it seems that Yunda is on NT/2000/XP, in which case there's no autoexec.bat, and no reboot would be needed. When installing Perl, make sure it is installed `for all users'. I believe the ActiveState Perl installer will automatically add to the PATH environment variable. If not, right click on `My Computer', click on the `Environment' tab, and edit PATH there. Click 'Set' and then 'OK'. Then try it again. Andy> -----Original Message----- > From: Jason Turner [mailto:jasont at indigoindustrial.co.nz] > Sent: Friday, June 14, 2002 12:02 AM > To: Yunda Huang > Cc: r-help at stat.math.ethz.ch > Subject: Re: [R] Rcmd on Windows > > > On Thu, Jun 13, 2002 at 06:30:45PM -0700, Yunda Huang wrote: > ... > > But it still did not work and the error message was > > -- 'perl' is not recognized as an internal or external command, > > operable program or batch file. -- What do you think I have > done wrong? > > You haven't got perl on your path. To check this, > 1) go to some directory where perl.exe *isn't* installed, such > as c:\temp > 2) type "perl" at the command prompt. > > You should get the same error message: ...not recognized as an > internal or external command... > > to fix this, edit your autoexec.bat file appropriately to put perl.exe > on the path, and reboot. > > Cheers > > Jason > -- > Indigo Industrial Controls Ltd. > 64-21-343-545 > jasont at indigoindustrial.co.nz > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. > -.-.-.-.-.-.-.-.- > r-help mailing list -- Readhttp://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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ============================================================================= -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._