[R] What's wrong with JGR?

Christian Schulz ozric at web.de
Thu Jan 26 11:38:44 CET 2006


Which R version and which os is yours?

For me it works fine.

Lade nötiges Paket: grDevices
using Java Runtime version 1.5.0
using JAVA_HOME = C:\develope\jre
Lade nötiges Paket: rJava
Lade nötiges Paket: methods
using Java Runtime version 1.5.0
using JAVA_HOME = C:\develope\jre
 >

 > R.Version()
$platform
[1] "i386-pc-mingw32"

$arch
[1] "i386"

$os
[1] "mingw32"

$system
[1] "i386, mingw32"

$status
[1] ""

$major
[1] "2"

$minor
[1] "2.1"

$year
[1] "2005"

$month
[1] "12"

$day
[1] "20"

$"svn rev"
[1] "36812"

$language
[1] "R"



>Hi all,
>
>I downloaded and installed JGR. Then when I tried to load the package in R
>console, it generated the following error message:
>
>  
>
>>local({pkg <- select.list(sort(.packages(all.available = TRUE)))
>>    
>>
>+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
>Loading required package: rJava
>using Java Runtime version 1.5.0
>using JAVA_HOME = C:\Program Files\Java\jre1.5.0_01
>Loading required package: JavaGD
>using Java Runtime version 1.5.0
>using JAVA_HOME = C:\Program Files\Java\jre1.5.0_01
>Error in .jcall("org/rosuda/JGR/JGR", "V", "setRHome", as.character(R.home()))
>:
>        RcallStaticMethod: cannot find specified class
>Error in library(pkg, character.only = TRUE) :
>        .First.lib failed for 'JGR'
>
>
>What's wrong?
>
>Thanks a lot!
>
>Michael.
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at 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
>
>
>  
>




More information about the R-help mailing list