Ubuntu – Installing R and RGedit Plugin

February 8, 2011

(This article was first published on Alex Singleton » R, and kindly contributed to R-bloggers)

R is a fantastic bit of software which I have been using on and off for a number of years since I gave up on SAS due to their (free for academics) annoying licenses and limited support for the things I wanted to do – R is infinitely flexible and totally free. Installing R on Ubuntu is very easy:

?Download code.txt

sudo apt-get install r-base

You can then start R from the terminal by typing R and pressing enter… or…

If you prefer, I have found the RGedit plugin for the pre-installed text editor Gedit to be very good. This can be installed as follows:

?Download code.txt

wget http://www.kaduk.net/~mateusz/gedit-r-plugin/kaduk.asc cat kaduk.asc | apt-key add -
echo "deb http://www.kaduk.net/~mateusz/gedit-r-plugin ./" >> /etc/apt/source.list
sudo apt-get update
sudo apt-get install gedit-r-plugin

After install the only thing you need to do is fire up Gedit and select “Preferences” from the “Edit” menu. Then on the plugins tab check the box “R integration”. This should open an R console at the base of Gedit and load R (Click on the picture to see how this looks).

To leave a comment for the author, please follow the link and comment on their blog: Alex Singleton » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)