[R-sig-DB] one problem when i use package JRI

文波胡 huwenb @end|ng |rom gm@||@com
Tue Jan 8 14:35:32 CET 2008


I use the JRI package in java to do some compute with R

but  i haved one  problem


              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");


this block  can't run  , and  system warn :WARNING: org.rosuda.JRI.Mutex was
unlocked by other thread than locked! This may soon lead to a crash...
wwhwwhen i delete :  re.eval("library(lattice)");     this program  can
run
WHY�� can somebody  help me?


-- 
������
TEL:
E-MAIL:bbbiiiooo using 163.com
            huwenb using gmail.com

	[[alternative HTML version deleted]]



More information about the R-sig-DB mailing list