>_ StatET, eclipse plug-in for R

October 2, 2010
By

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

Install the plug-in is quite simple, we only need to follow the instructions that we’ll find at the project’s page:

http://www.walware.de/goto/statet

The requirements are Java 5 (1.5) or higher, Eclipse IDE and the R package: rJava. The rj package is also recommended.

In my case, I have installed Eclipse Helios for PHP (eclipse-php-helios-linux-gtk-x86_64.tar.gz). Eclipse download page: http://eclipse.org/downloads

Install Java using for example synaptics and then run

>_$ sudo R CMD javareconf

Install the R package “rJava” as usually, i.e into R:

> install.packages(“rJava”);

Open Eclipse, go to: help menu > install new software,  add  the repository for our version:

http://download.walware.de/eclipse-3.6

Configure the R environment, at the menu option: Window > Preferences and unfold the Run/Debug option, in ‘R environments’ add an environment

Configure R environment

we can select ‘try find automatically’ for our R Home variable, in my case /usr/lib/R and select the proper arch (32 or 64 bits) and the other options.

In order to use the console inside eclipse we need to do few adjustments:

Go to menu: Run > Run configurations, double click in ‘R console’, give a name in main tab and select RJ console, here we can select the working directory and add start up options like –silent that
causes R to start up without printing messages

R Console inside Eclipse

then we are ready to play with R in our Eclipse IDE.

To leave a comment for the author, please follow the link and comment on his blog: Oneliner Blog » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: 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.