Because I use window XP as a main operating system in my computer, I have to choose an virtual environment. I've chosen an Oracle virtual box which is free as an virtualization software. And I've decided an Ubuntu 2.4 as my main operating system.
Once you've finished fundamental installation, you can add on another software in Linux environment. If you have a preferable environment, then you can choose what you want.
I've already explained how to install R software in Window environment in another post, but this time I will show show you how to install R in linux environment.
Of course, detailed install guide can be found in R official web page.
First, visit main web page http://www.r-project.org/
Then, go to download page and click your preferable mirror site.
Now, you can see different kinds of R software versions in terms of OS. (Click Linux version)
After that, you can find a install guide on the below. I will briefly show you how to executed in my PC environment.
1) To obtain the latest R packages, add an entry in your /etc/apt/sources.list file
My favorit cran mirro site is like this.
deb http://cran.stat.sfu.ca//bin/linux/ubuntu precise/
2) Install R software by typing this command in your linux account.
(As you can see the before executing this command line, it is strongly recommended that your OS should be in a latest status.)
That's it.
Once you'v installed R software, you can directly move to the R console environment by simply typing an "R" in the Linux command line.
This is a brief R installation guide in Linux environment. I will cover the data which we will explore in next post.
No comments:
Post a Comment