[R] Cannot run R from command prompt
ggrothendieck at gmail.com
Fri Apr 4 19:28:33 CEST 2008
Did you start up a new command line session after setting the
Also note that at http://batchfiles.googlecode.com there are batchfiles:
R.bat, Rcmd.bat etc. They can be placed anywhere in your path
and then you can just write R or Rcmd, etc. With those you don't
have to change your path at all since they find R in the registry
and then run it. It also means that when you change R versions
you don't have to do anything since they will automatically find
the new one in the registry.
On Fri, Apr 4, 2008 at 1:19 PM, Vidhu Choudhary
<vidhu.choudhary at gmail.com> wrote:
> I have installed R 2.6 on windows 2000 and now from the command prompt when
> I type R it show
> " 'R' is not recognized as an internal or external command,
> operable program or batch file."
> If I change the path to C:\R\R-2.6.2\bin and then type R it runs fine.
> I have changed my envionment variable Path to C:\R\R-2.6.2\bin;
> Still its not working. Can you please give some suggestion
> Thank you
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help