I am new to R and want to use the Eclipse plugin StatEt with Oxygen.2 Release (4.7.2) on Windows 7.
I tried to create an example plot with the R Graph Builder. I cli
In order to use those features of StatEt you need to select RJ (default)
instead of Rterm
in the Console run configuration. (Rterm
might be useful for trouble shooting and initial setup but RJ
is required for normal usage. The R package RJ
needs to be installed from within R. Apply Rterm once for doing so or use R.exe directly. Also see ClassNotFoundException for StatEt Eclipse plugin / RJ. Compatibility issue with Java9?)
RJ 2.1
is not compatible to Java 9
. Currently you need to install Java8 and select it in the JRE settings of the run configuration.
Make sure that the box Set R Graphic view by StatET as default graphic device for new plots in R
is checked in Run configuration>R console. (It is checked by default.)
Once you have created your graph, the example code is written in code. This is normally sent to the R console. You should now be able to see the graphical result in the R Graphics view.