[R] unable to get R CMD to work as expected on a 64 bit windows machine

2011-11-14 Thread Martyn Byng
Hi, I've just downloaded and installed R 2.14.0 using the windows binary on a 64bit windows machine running windows 7. Rterm / RGui work as expected, as does R CMD --help and R CMD BATCH --help however R CMD check --help returns no information and I seem to be unable to check a package.

Re: [R] unable to get R CMD to work as expected on a 64 bit windows machine

2011-11-14 Thread Joshua Wiley
Hi Martyn, My guess is that you need to add the directory where R is located to your Windows PATH variable. It sounds like Windows just doesn't know where to find R. HTH, Josh On Mon, Nov 14, 2011 at 8:48 AM, Martyn Byng martyn.b...@nag.co.uk wrote: Hi, I've just downloaded and installed R

Re: [R] unable to get R CMD to work as expected on a 64 bit windows machine

2011-11-14 Thread Martyn Byng
Hi Josh, Thanks for that, which directory needs to be in the path? There is a file called R.exe in C:\Program Files\R\R-2.14.0\bin C:\Program Files\R\R-2.14.0\bin\x64 and C:\Program Files\R\R-2.14.0\bin\i386 I currently have C:\Program Files\R\R-2.14.0\bin\x64 in the path (which is, I'm

Re: [R] unable to get R CMD to work as expected on a 64 bit windows machine

2011-11-14 Thread Henrik Bengtsson
See if Rcmd check --help works. I've always been use that form (I'm on Win7 64-bit). /Henrik On Mon, Nov 14, 2011 at 9:06 AM, Martyn Byng martyn.b...@nag.co.uk wrote: Hi Josh, Thanks for that, which directory needs to be in the path? There is a file called R.exe in C:\Program

Re: [R] unable to get R CMD to work as expected on a 64 bit windows machine

2011-11-14 Thread Joshua Wiley
Hi Martyn, I would not expect you to need directories besides Rversion\bin\x64. That is all I normally have in my path...perhaps because I do a complete install? I do not really know how or why it works, so I do not have any great insight---just my experience. Perhaps someone else will chime in

Re: [R] unable to get R CMD to work as expected on a 64 bit windows machine

2011-11-14 Thread Martyn Byng
Hi, Thanks for the help. I have now sorted out the issue. Somehow the text C:\Progra~1\R\R-2.14.0\bin\x64\R had got added to the end of an environment variable called comspec. Removing the extraneous text solved the problem - so the only mystery now is how I managed to paste the text into