Step Six: Fixing your Path
After installing RTools, it’s a good idea to check your path. Step 2 showed you how to get to your path, so go to your path variable and cut and past it into a text editor. In case you need help it’s always good to have this handy. Also, if you make any mistakes you can revert.
Here is what my path looks like:
c:\Rtools\bin;
c:\Rtools\MinGW\bin;
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin;
c:\Program Files\R\R-2.13.0\bin\x64;
%CommonProgramFiles%\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\12.0\DLLShared\
The order of the tools is important. As the documentation explains:
Finally, the Rtools installer will optionally edit your PATH variable as follows: PATH=c:\Rtools\bin;c:\Rtools\MinGW\bin;c:\R\bin;<others> (where you will substitute appropriate directories for the ones listed above, but please keep the path in the same order as shown. LaTeX and the HTML Help Workshop should be installed among the "others".)
There are two things to note. First, you must have a path to Rcmd.exe. on My system its “c:\Program Files\R\R-2.13.0\bin\x64;” I could also provide a path to the 32 bit version. Make sure you have that in your path. Also, I need to add a path for Windows HTML Help workshop.
C:\Program Files (x86)\HTML Help Workshop;
So after editing it looks like this.
c:\Rtools\bin;c:\Rtools\MinGW\bin;c:\Program Files (x86)\MiKTeX 2.9\miktex\bin;c:\Program Files (x86)\HTML Help Workshop;c:\Program Files\R\R-2.13.0\bin\x64;%CommonProgramFiles%\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\12.0\DLLShared\
Next, we will proceed to step 7 and restart our system. I assume this is required to update the PATH variable after changing it.
On to step 7.
Thanks the news from your blog…
you are welcomed
Hi Steven,
I have a problem with the –build command. My cmd cannot find it although I have already pathed the R/bin. I see in your path that there is also MinGW folder. However the Rtools does not install the MinGW folder. Do I have to acquire it from somewhere else?
regards,
Michalis
Looks like I got the same problem …
Problem solved, put the C:\R\..whateverversion\bin\i386; ” as well into Path, not only x64 one, sometime, for example in my case, RCMD file in i386 folder works, not the one in x64 folder.
hiii steven,
i am unable to install packages in r tool and unable to install rstudio so please provide me complete details installation of r and path setting and any if there are
http://modstalker.ru/_nw/13/30683627.jpg По большому счету, моды считаются решением фанатов преобразить любимую игру в новых цветах. Изменения касаются практически всего, с чем вы сталкиваетесь при прохождении в оригинальной версии, сталкер зов припяти мод мертвый город. Только наиболее невероятное, с чем может столкнуться каждый фанат серии и пользователь нашего Сталкер портала – это постоянное обновление абсолютно новыми и оригинальными идеями со стороны независимых мододелов.