I used JRI package in java to connect R ,and want to use R do some work
fo me.
but most thing is ok, but there is a problem for me

these is some code of the program:

               re.eval("library(lattice)");
              y=re.idleEval("print(1:10)");
              y=re.eval("feq <- read.delim('c:/minist.txt',header=T)");
              y=re.eval("feq1<-as.matrix(feq)");
              System.out.println(y=re.eval("feq1[1,]"));
              y=re.eval("jpeg()");
              y=re.eval("levelplot(feq1)");
              re.eval("dev.off()");
              re.end();
              System.out.println("end");

in these codes i load package   lattice to plot my data ,but  i cann't  get
a right picture, the picture created is empty .
it looks like   this code is not run rightly: y=re.eval("levelplot(feq1)");

can some one  help me thanks!

--
ºúÎIJ¨
TEL:



E-MAIL:[EMAIL PROTECTED]
            [EMAIL PROTECTED]

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to