[R] RJava , bitmap ,PNG

Macleod Lee macleod_lee at tynesys.com
Fri Apr 12 12:39:22 CEST 2002


Hi ,

I try to use Java -> RJava -> R to generate a image(PNG or JPEG)) , but it cause Java core dump .
Anyone can help me to slove this problem ?? Is it a proven solution ??

My computer enviroment : 
   OS: Solaris 8
   R : R-1.4.1
   SJava : 0.64
   Java : 1.3.1_03

Java Source code:
import org.omegahat.R.Java.ROmegahatInterpreter;
import org.omegahat.R.Java.REvaluator;
public class test2
{
public static void main(String[] args) {
  ROmegahatInterpreter interp = new ROmegahatInterpreter(ROmegahatInterpreter.fixArgs(args), false);
  REvaluator e = new REvaluator();

  e.eval("bitmap('z.png')");

}
}

Macleod
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list