AFAIK JRI is part of rJava (and you installed rJava), which has its
own mailing list: plasea use it. (http://rosuda.org/lists.shtml, I
believe).
There are tricky things with JRI on multi-architecture platforms, so
you do need to be sure you are using the right versions (and rJava
0.8-8 is needed for 64-bit Windows R, for example).
On Tue, 4 Jan 2011, ying zhang wrote:
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]]
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.