Installing the Eclipse Integrated Programming Environment and its R Plugin
To install
Eclipse you first have to install a version of Java that is compatible with the R plugin, then set the system to use that version of
java
as the default.
Eclipse
does not respect that default automatically, but the system makes it easy to specify the default location
su
apt-get install sun-java5-jdk
apt-get install eclipse
update-alternatives --config java # select the sun java5 jdk option
exit
eclipse -vm /etc/alternatives/java & # use this every time to run eclipse
When
Eclipse
is running, click on
Help .. Software Updates .. Find and Install .. Search for New Features to Install .. New Remote Site ..
and add a site named
Walware
at
http://www.walware.de/eclipseupdates/
. Have
Eclipse
install the new features from that site.
When you open an
.r
file it will open with the
R Script Editor
.