Re: [R] What's wrong with JGR?

From: Christian Schulz <ozric_at_web.de>
Date: Thu 26 Jan 2006 - 21:38:44 EST

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@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
>
>
>
>



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 Received on Thu Jan 26 21:45:05 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:12 EST