Skip to content
Prev 393 / 1559 Next

one problem when i use package JRI

This list is for database interfaces: nothing to do with Java.
Please do study the R posting guide at

http://www.r-project.org/posting-guide.html
On Tue, 8 Jan 2008, ?????? wrote:

            
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 at 163.com
             huwenb at gmail.com