   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!

--
胡文波
TEL:



E-MAIL:bbbiiiooo@163.com
            huwenb@gmail.com

	[[alternative HTML version deleted]]

