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;

  2. 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: 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:

      1. 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.

DanieleMerico/HowtoDirectory/EclipseRplugin (last edited 2009-07-07 00:48:19 by localhost)

MoinMoin Appliance - Powered by TurnKey Linux