R is a
programming language and software environment for statistical computing
and graphics. The R language is widely used among statisticians for
developing statistical software, and R is widely used for statistical software development and data analysis.
- How to install R
- Windows Users
- Go to the web site and download R for windows
- Click on the downloaded file and begin installation
- When asked where to install R, never never never never ....
accept the default, instead create a new folder in the C: and name it
for example R-your-name, even you can select a USB drive or flash disk.
Select this folder as your destination folder. Do not forget the golden
rule of never creating spaces in the folder names.
- Contue the installation process
- After complete installation, run R and update packages by entering the following in the R console
- update.packages()
- click enter
- select cran mirror by your mouse (I prefere Germany Berlin)
- wait for the update process to finish
- Proceed to install a graphic user interface for R (See later)
- Straight forward, go to synaptic package
manager, write "r-base" in the search bar, right click on it, then
select for installation
- GUI for R
-
R is a difficult program particularly for me as I am neither a
statistician nor a mathematician, therefore, to use R, I need a GUI
(Graphical User Interface). So that R looks more like SPSS or other
commercial software. There are many GUIs for R, but the two most
useful (at least for me) are R commander and JGR (prounonced as
jaguar).
- R Commander
- In the R console write "install.packages("Rcmdr")" without the external quotas
- Select cran mirror and proceed in the installation
- After finishing installation type "liberary(Rcmdr)"
- Install sun java jdk
sudo R CMD javareconf
sudo R ## Necessary to install these packages system-wide (I suppose)
install.packages("JGR",dep=T)
library(JGR) ## Load JGR
JGR()
|