>_ StatET, eclipse plug-in for R

[This article was first published on Oneliner Blog » 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.

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 their blog: Oneliner Blog » 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.

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)