Re: [R] JGR / linux

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Tue, 03 Jun 2008 17:18:22 -0500

On 3 June 2008 at 13:44, g-h-d wrote:
| > | > $ sudo apt-get install sun-java6-jdk
| > | >
| > | > $ sudo update-alternatives --config java
| > | >
| > | > There are 5 alternatives which provide `java'.
| > | >
| > | > Selection Alternative
| > | > -----------------------------------------------
| > | > 1 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
| > | > 2 /usr/bin/gij-4.1
| > | > 3 /usr/bin/gij-4.2
| > | > 4 /usr/lib/jvm/java-gcj/jre/bin/java
| > | > + 5 /usr/lib/jvm/java-7-icedtea/jre/bin/java
|
| About the message resulting from calling say ?matrix: the message may be a
| warning, but ?matrix just doesnt work, I can't use it (or any other help
| command).

I see. That appears to be the same at my end. You may want to bring that to the attention of the rosuda.org folks.  

| About "doing the same update-alternatives call for 'javah' and 'javac'." I
| actually don't know what you mean exactly. Could you please clarify? Thanks.

See what I left from your initial post -- besides running

    $ sudo update-alternatives --config java

it may be prudent to also redirect via

    $ sudo update-alternatives --config javac     $ sudo update-alternatives --config javah

as 'R CMD javareconf' checkes for all three. But as you got JGR built, this may not matter. I always found that other java compilers from gij, gcj, ecj, ... would get in the way.

Hope this helps, Dirk

-- 
Three out of two people have difficulties with fractions.

______________________________________________
R-help_at_r-project.org 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.
Received on Tue 03 Jun 2008 - 23:06:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 04 Jun 2008 - 00:30:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive