>_ StatET, eclipse plug-in for R
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:
Configure the R environment, at the menu option: Window > Preferences and unfold the Run/Debug option, in ‘R environments’ add an 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
then we are ready to play with R in our Eclipse IDE.
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.