You have to use Sun's java on your PC and not microsoft's. I just loaded it on mine and then restarted computer and it seemed to work.
Hope this helps! mister_bluesman wrote: > > Hi > > How did u 'load' sun's java in R? > > Many thanks > > > > ryestone wrote: >> >> Did you load Sun's java? Try that and also try rebooting your machine. >> This worked for me. >> >> >> mister_bluesman wrote: >>> >>> Hi. I try to load iplots using the following commands >>> >>>> library(rJava) >>>> library(iplots) >>> >>> but then I get the following error: >>> >>> Error in .jinit(cp, parameters = "-Xmx512m", silent = TRUE) : >>> Cannot create Java Virtual Machine >>> Error in library(iplots) : .First.lib failed for 'iplots' >>> >>> What do I have to do to correct this? >>> >>> I have jdk1.6 and jre1.6 installed on my windows machine >>> Thanks >>> >> >> > > -- View this message in context: http://www.nabble.com/iplots-problem-tf3815516.html#a10813663 Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.