Hello
I m tryng to execute the code below and I have a problem with the R-Java connection.:
 



import org.omegahat.R.Java.*;

public class REvalSample {
    public static void main(String [] args) {
        String [] rargs = {"--slave", "--vanilla"};

        System.out.println("Sample program to call R engine from Java");
ROmegahatInterpreter interp = new ROmegahatInterpreter(ROmegahatInterpreter.fixArgs(rargs),false);

        REvaluator e = new REvaluator();

     Object val = e.eval("demo()");
        val = e.eval("x * 2.0");

        if (val != null) {
            double[] objects = (double[])val;
            for (int i=0; i<objects.length; i++) {
                System.err.println("("+i+") " + objects[i]);}


            }
    }
}


The ERROR MESSAGES are
""Loading RInterpreter library
java.lang.UnsatisfiedLinkError: no RInterpreter in java.library.path
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
            at java.lang.Runtime.loadLibrary0(Runtime.java:788)
            at java.lang.System.loadLibrary(System.java:834)
            at org.omegahat.R.Java.ROmegahatInterpreter.<clinit>(ROmegahatInterpreter.java:34)
            at rjava.REvalSample.main(REvalSample.java:11)
Exception in thread "main".""
also , I have problem in installing SJava package. In installing it from RGui i have the error message:
 
""Erreur dans gzfile(file, "r") : impossible d'ouvrir la connexion
De plus : Warning messages:
1: erreur -1 lors de l'extraction d'un fichier zip 
2: impossible d'ouvrir le fichier compressé 'SJava/DESCRIPTION' ""
	[[alternative HTML version deleted]]


