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:
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 at 163.com
huwenb at gmail.com
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595