User Tools

Site Tools


en:r

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
en:r [2019/01/26 17:55]
David Zelený [About R program]
en:r [2019/01/26 17:57]
David Zelený
Line 76: Line 76:
 ==== Install Rtools (for Windows users only) ==== ==== Install Rtools (for Windows users only) ====
 Packages hosted on CRAN usually contain package binaries - you can directly install packages without the need to compile them from the source code. If you install packages from GitHub, R-Forge or other repositories, you may need to compile them from source. To do it, do the following: Packages hosted on CRAN usually contain package binaries - you can directly install packages without the need to compile them from the source code. If you install packages from GitHub, R-Forge or other repositories, you may need to compile them from source. To do it, do the following:
-  * download Rtools.exe from [[http://cran.rstudio.com/bin/windows/Rtools/|Rtools]] +  * download Rtools.exe from [[http://cran.rstudio.com/bin/windows/Rtools/|Rtools]] (choose a version compatible with your version of R); 
-  * if you already have installed an older version of Rtools on your computer, uninstall it (Rtools are usually installed in the folder c:\Rtools) +  * if you already have installed an older version of Rtools on your computer, uninstall it (Rtools are usually installed in the folder c:\Rtools); 
-  * follow the installation wizard of Rtools; you can mostly accept the default setting, with one important exception - at the page ''Select additional tasks'', please check the box with ''Add rtools to system PATH'' (screenshot below). In the next step, check whether the folder with Rtools have been added on the top of the list with system paths; if it is and it occurs twice (e.g. because it has been added there by the previous version of Rtools), delete one of them.+  * follow the installation wizard of Rtools; you can mostly accept the default setting, with one important exception - at the page ''Select additional tasks'', please check the box with ''Add rtools to system PATH'' (screenshot below). In the next step, check whether the folder with Rtools has been added on the top of the list with system paths; if it is and it occurs twice (e.g. because it has been added there by the previous version of Rtools), delete one of them.
  
 {{ :obrazky:rtools-install-add-path.jpg?direct |}} {{ :obrazky:rtools-install-add-path.jpg?direct |}}
en/r.txt · Last modified: 2020/02/12 06:56 by David Zelený