Hi everyone, I try to run my R script in Java, thus I installed JRI. and run
the example, I am using Eclipse on 64 bits windows 7.  part of the example
code is as follows:

 

    public static void main(String[] args) {

        System.out.println("Creating Rengine (with arguments)");

                Rengine re=new Rengine(args, false, null);

        System.out.println("Rengine created, waiting for R");

                if (!re.waitForR()) {

            System.out.println("Cannot load R");

            return;

        }

However, everytime I run it. it teminated after print out "Creating Rengine
(with arguments)" never successfully print out "Rengine created, waiting for
R"

 

I do not know what is right argument to input, I have tried to add
"--no-save" under the Program arguments of eclipse run configuration, but
still does not help.

 

any suggestions? Many thanks

 

 

Ying

 


	[[alternative HTML version deleted]]

