Re: [R] Cannot run R from command prompt

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Fri, 04 Apr 2008 13:28:33 -0400

Did you start up a new command line session after setting the path?

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:
> Hello,
> 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
> Vidhu
>
> [[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.
>



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. Received on Fri 04 Apr 2008 - 17:32:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 04 Apr 2008 - 18:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive