Skip to content

R v2.13.2 - Cannot find Rcmd on path?

5 messages · Hardy Griesbauer, Joshua Wiley, Duncan Murdoch +2 more

#
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:

            
#
On 11-10-21 8:40 PM, Joshua Wiley wrote:
The simple way to do it just for the command prompt is to write a little 
batch file setpath.bat containing

set PATH=newstuff;%PATH%

and then run cmd with

CMD /K setpath.bat

Duncan Murdoch
4 days later
#
On Wed, 26 Oct 2011, jack306 wrote:

            
What 'same problem'? (The posting guide asked you to retain suffiicent 
context.)

Installing R does not put Rcmd.exe on the PATH.  You have to do that 
for yourself: this has always been the case.

How to set environment variables (including PATH) is discussed in the 
rw-FAQ.

However, if you look in the R help archives at
https://stat.ethz.ch/pipermail/r-help/2011-October/293387.html
you will see that two answers to a message with the same subject had 
already been given.