Hello, I recently updated to R version 2.13.2. With R version 2.10.0, I often created and installed R packages, however, I cannot do this since updating. In other words, when I type in Rcmd build -binary PACKAGENAME I receive an error message: "Rcmd is not recognized as an internal...". I suspect that this is because Rcmd.exe is no longer installed in the bin folder, but rather, in the x64 folder within bin. Please help! What I've done so far: 1) Downloaded and installed the latest version of Rtools (as of October 21, 2011). 2) During installation of Rtools, I included the following in the path: C:\Progra~1\R\R-2.13.2\bin\x64 and confirmed that this is on the path. 3) Read every help manual I can find, but I can't seem to locate the answer to this problem. Other information: R version 2.13.2 (2011-09-30) Platform: x86_64-pc-mingw32/x64 (64-bit) My windows version: Windows 7 Home Premium Service Pack 1 64-bit OS. Thanks in advance, Hardy [[alternative HTML version deleted]]
Hi Hardy, I would double check the PATH variable in Windows. You can check it through the control panel, command prompt, or PowerShell. If the correct path to R is not included, you will need to edit it (the PATH environment variable). I do not know a way to permanently edit it from the command prompt but it is easy and there are many guides online for how to do it through the control panel or the PowerShell. HTH, Josh On Oct 21, 2011, at 14:07, Hardy Griesbauer <hgriesbauer at hotmail.com> wrote:> Hello, > > > > I recently updated to R version 2.13.2. With R version 2.10.0, I often > created and installed R packages, however, I cannot do this since updating. > In other words, when I type in Rcmd build -binary PACKAGENAME I receive an > error message: "Rcmd is not recognized as an internal...". I suspect that > this is because Rcmd.exe is no longer installed in the bin folder, but > rather, in the x64 folder within bin. Please help! > > > > What I've done so far: > > 1) Downloaded and installed the latest version of Rtools (as of October > 21, 2011). > > 2) During installation of Rtools, I included the following in the path: > C:\Progra~1\R\R-2.13.2\bin\x64 and confirmed that this is on the path. > > 3) Read every help manual I can find, but I can't seem to locate the > answer to this problem. > > > > Other information: > > R version 2.13.2 (2011-09-30) > > Platform: x86_64-pc-mingw32/x64 (64-bit) > > > > My windows version: Windows 7 Home Premium Service Pack 1 64-bit OS. > > > > Thanks in advance, > > > > Hardy > > > > > > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
I have the same problem. I was not able to find RCMD on path after I updated to R 2.13.2. My computer runs win xp professional. Jixiang Wu -- View this message in context: http://r.789695.n4.nabble.com/R-v2-13-2-Cannot-find-Rcmd-on-path-tp3927126p3943082.html Sent from the R help mailing list archive at Nabble.com.
On Fri, Oct 21, 2011 at 5:07 PM, Hardy Griesbauer <hgriesbauer at hotmail.com> wrote:> Hello, > > > > I recently updated to R version 2.13.2. ?With R version 2.10.0, I often > created and installed R packages, however, I cannot do this since updating. > In other words, when I type in Rcmd build -binary PACKAGENAME I receive an > error message: "Rcmd is not recognized as an internal...". ?I suspect that > this is because Rcmd.exe is no longer installed in the bin folder, but > rather, in the x64 folder within bin. ?Please help! > > > > What I've done so far: > > 1) ? ? ?Downloaded and installed the latest version of Rtools (as of October > 21, 2011). > > 2) ? ? ?During installation of Rtools, I included the following in the path: > C:\Progra~1\R\R-2.13.2\bin\x64 and confirmed that this is on the path. > > 3) ? ? ?Read every help manual I can find, but I can't seem to locate the > answer to this problem. > > > > Other information: > > R version 2.13.2 (2011-09-30) > > Platform: x86_64-pc-mingw32/x64 (64-bit) > > > > My windows version: Windows 7 Home Premium Service Pack 1 64-bit OS. >There is a batch command Rcmd.bat at http://batchfiles.googlecode.com that when run will find R using the registry and then run the appropriate Rcmd.exe so that you don't need to change your path or any other environment variable. Its a self contained .bat file so just place it anywhere on your existing path. At the Windows console this command will show you your path: path Now try Rcmd.bat build ...whatever... If your path is not already set to find Rcmd.exe then Rcmd.bat can be abbreviated to just Rcmd in the above line. -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com