[R-sig-DB] one problem when i use package JRI
Prof Brian Ripley
r|p|ey @end|ng |rom @t@t@@ox@@c@uk
Tue Jan 8 15:17:50 CET 2008
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, ÎIJ¨ºú 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?
--
ºúÎIJ¨
TEL:
E-MAIL:bbbiiiooo using 163.com
huwenb using gmail.com
[[alternative HTML version deleted]]
--
Brian D. Ripley, ripley using 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
More information about the R-sig-DB
mailing list