## Please edit system and help pages ONLY in the moinmaster wiki! For more
## information, please see MoinMaster:MoinPagesEditorGroup.
##master-page:Unknown-Page
##master-date:Unknown-Date
#acl DanieleMerico:read,write,delete,revert All:read
#format wiki
#language en
== The StatET R plug-in for Eclipse ==
1. Install the plug-in<
>
* quite easy: from the menu bar of Eclipse: Help/Software Updates/Find and Install/Search for new features to install/New remote site
* fill-in the plug-in name ("StatET") and the URL from which the plug-in is downloaded;<
>
* the latter is provided by the plugin developer at: http://www.walware.de/goto/statet (click on "Installation" on the left menu)<
>
* when I installed the plugin the URL was: http://www.walware.de/eclipseupdates/
1. Configure the plug-in<
>
* a plug-in manual is provided at: www.splusbook.com/Rintro/R_Eclipse_StatET.pdf ("A guide to Eclipse and the R plug-in StatET"), and it is supposed to contain all the info to do it (chapt 3.1, 3.2); a copy of it is attached: [[attachment:R_Eclipse_StatET_manual.pdf]]
* however, having installed Eclipse 3.3 IDE on Mac, a few interface items mentioned in the manual are slightly different in my Eclipse interface;<
>
thus, I am recapitulating what you need to do, according to the manual, but using Eclipse 3.3 IDE for Mac:
A. the editor should be already fully functional
B. what you need to configure is the connection to the R executables, in order to be able to execute R code within eclipse
* go to the menu bar Eclipse/Preferences/StatET/R interaction/R environments/add (instead of "Windows/Preferences/..." as reported in the manual)<
>
provide a name, and the location of your executable R files; on my Mac, the location is: /Library/Frameworks/R.framework/Versions/.../Resources; you may refer to the R FAQ for Mac for more details
* follow the manual instructions for all the other stuff
* if everything went the right way, and you went for the option of the R console within Eclipse, you should be able to write a R script and run it in the Eclipse R console.