What's wrong with JGR?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

What's wrong with JGR?

LosemindL
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]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: What's wrong with JGR?

christian schulz
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]]
>
>______________________________________________
>[hidden email] mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
>  
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: What's wrong with JGR?

LosemindL
Mine. What might be wrong?

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



On 1/26/06, Michael <[hidden email]> wrote:

>
> Here is mine. What might be wrong?
>
> > 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"
>
>
>
> On 1/26/06, Christian Schulz < [hidden email]> wrote:
> >
> > 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]]
> > >
> > >______________________________________________
> > >[hidden email] mailing list
> > >https://stat.ethz.ch/mailman/listinfo/r-help
> > >PLEASE do read the posting guide!
> > http://www.R-project.org/posting-guide.html
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
        [[alternative HTML version deleted]]


______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html