[R] R and Java

2006-05-10 Thread miniar mansouri
hello, I want to call R from java. I know that i must install SJava .so ,what tools i need and how i install hwo help me ? [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] R and Java

2006-05-10 Thread Prof Brian Ripley
://www.rosuda.org/software/ (and see the R FAQ). On Wed, 10 May 2006, miniar mansouri wrote: hello, I want to call R from java. I know that i must install SJava .so ,what tools i need and how i install hwo help me ? [[alternative HTML version deleted

[R] R and Java

2006-05-09 Thread Erin Hodgess
Dear R People: Where are the rJava and SJava packages, please? I looked for them to download but they are nowhere to be found. Do they have their own list serves, please? R Windows 2.3. Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical

Re: [R] R and Java

2006-05-09 Thread Brian D Ripley
On Tue, 9 May 2006, Erin Hodgess wrote: Dear R People: Where are the rJava and SJava packages, please? I looked for them to download but they are nowhere to be found. rJava is on CRAN: http://cran.r-project.org/bin/windows/contrib/2.3/rJava_0.4-1.zip (The capitalization can cause this to

Re: [R] R and Java

2006-05-09 Thread Uwe Ligges
Brian D Ripley wrote: On Tue, 9 May 2006, Erin Hodgess wrote: Dear R People: Where are the rJava and SJava packages, please? I looked for them to download but they are nowhere to be found. rJava is on CRAN: http://cran.r-project.org/bin/windows/contrib/2.3/rJava_0.4-1.zip and

[R] R et Java

2006-05-06 Thread miniar mansouri
}; 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

[R] R and Java

2006-05-06 Thread miniar mansouri
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

Re: [R] R et Java

2006-05-06 Thread Martin Morgan
peut-être http://www.omegahat.org/RSJava/FAQ.html: Problem: Trying the example for calling R from Java via SJava/scripts/RJava --example --gui-none (in RHOME/library) throws an exception Solution: Reinstall SJava using the -c switch, i.e. R CMD INSTALL -c SJava_0.62-6.tar.gz Regards

[R] R from JAVA IDE

2005-06-20 Thread Christian Köberle
Hi, how can i run SJava from an IDE like Netbeans? If i try to run a example class from RJava i get this message: Exception in thread main java.lang.UnsatisfiedLinkError: no RInterpreter in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at

[R] R and Java

2004-10-15 Thread laura.dow
Hi Bobby, You are right - functions is a StringBuffer object. I've compiled without the syntax error. The error message is: Error in dev.print( can only read screen device Do you think this means that RTerm doesn't actually produce a Screen plot when

[R] R and Java

2004-10-14 Thread laura.dow
I am calling R from within Java. But I don't think that I can get any plots written to file from R - inside Java. This snippet of code(from a larger piece of code) compiles in Java, but doesn't do anything! functions.append(trial-c(1,3,4,5)\n