[This article was first published on Analysis with R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
There are two ways to install R in Ubuntu. One is through the terminal, and the other is through the Ubuntu Software Center.
Through Terminal
- Press Ctrl+Alt+T to open Terminal
- Then execute sudo apt-get update
- After that, sudo apt-get install r-base
R statistical package in Ubuntu 12.10 Terminal |
Through Ubuntu Software Center
- Open Ubuntu Software Center
- Search for r-base
- And click Install
- Then run R by executing R in the Terminal
Working through Terminal would be inconvenient, we suggest to download a user-friendly interface for R. For Ubuntu, we recommend using RStudio IDE or RKWard KDE.
RStudio in Ubuntu 12.10 Dash |
To install RStudio IDE, do the following:
- Go to RStudio IDE download page
- Click Download RStudio Desktop
- Then click for the download link recommended for your system
- Run the downloaded file (double click the file) to start the setup wizard
- Click “Next” until “Finish”
To install RKWard KDE, do the following:
- Open Ubuntu Software Center
- Search for RKWard
- Then click Install
RKWard KDE in Ubuntu 12.10 |
To leave a comment for the author, please follow the link and comment on their blog: Analysis with R.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.