[R-sig-Debian] Ubuntu JGR

Gunnar Hoyer gunnar.hoyer at uni-oldenburg.de
Tue Jul 14 09:45:45 CEST 2009


Hello,

I cannot get JGR installed. 

Here is what I have tried so far http://wiki.ubuntuusers.de/R

1. sudo -s        # root werden
   R CMD javareconf 

root at gunnar-laptop:~# R CMD javareconf
Java interpreter : /usr/bin/java
Java version     : 1.5.0_18
Java home path   : /usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre
Java compiler    : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
Java library path: $(JAVA_HOME)/lib/i386/client:$(JAVA_HOME)/lib/i386:
$(JAVA_HOME)/../lib/i386
JNI linker flags : -L$(JAVA_HOME)/lib/i386/client -L
$(JAVA_HOME)/lib/i386 -L$(JAVA_HOME)/../lib/i386 -ljvm
JNI cpp flags    : -I$(JAVA_HOME)/../include -I
$(JAVA_HOME)/../include/linux

Updating Java configuration in /etc/R
Done.

Than I started R: 

sudo R


 version 2.9.1 (2009-06-26)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0 ..............................

Than I tried to install "JGR" as followd:

install.packages("JGR", dep=TRUE)

Than I got this message, which shows me that was not installed properly.
I do not know how to fix it since I have just installed Ubuntu 2 days
ago. I searched the internet and found some similary probs. But still
could not work it out. 

Fehler: konnte das Verzeichnis nicht blockieren
‘/home/gunnar/R/i486-pc-linux-gnu-library/2.9’ um zu modifizieren
Versuche zu entfernen
‘/home/gunnar/R/i486-pc-linux-gnu-library/2.9/00LOCK’
Fehler: konnte das Verzeichnis nicht blockieren
‘/home/gunnar/R/i486-pc-linux-gnu-library/2.9’ um zu modifizieren
Versuche zu entfernen
‘/home/gunnar/R/i486-pc-linux-gnu-library/2.9/00LOCK’
Fehler: konnte das Verzeichnis nicht blockieren
‘/home/gunnar/R/i486-pc-linux-gnu-library/2.9’ um zu modifizieren
Versuche zu entfernen
‘/home/gunnar/R/i486-pc-linux-gnu-library/2.9/00LOCK’
Fehler: konnte das Verzeichnis nicht blockieren
‘/home/gunnar/R/i486-pc-linux-gnu-library/2.9’ um zu modifizieren
Versuche zu entfernen
‘/home/gunnar/R/i486-pc-linux-gnu-library/2.9/00LOCK’

Die heruntergeladenen Pakete sind in 
	‘/tmp/RtmpCTh8aw/downloaded_packages’
Warnmeldungen:
1: In install.packages("JGR", dep = TRUE) :
  Installation des Pakets 'rJava' hatte Exit-Status ungleich 0
2: In install.packages("JGR", dep = TRUE) :
  Installation des Pakets 'JavaGD' hatte Exit-Status ungleich 0
3: In install.packages("JGR", dep = TRUE) :
  Installation des Pakets 'iplots' hatte Exit-Status ungleich 0
4: In install.packages("JGR", dep = TRUE) :
  Installation des Pakets 'JGR' hatte Exit-Status ungleich 0

> library(JGR)
Fehler in library(JGR) : es gibt kein Paket 'JGR'



It would be great if somebody could give me an easy to unterstand
instruction on how to get R running on an graphical interface like 
under MAC or Windows. 

Thanks in andvance. 

Best wishes



More information about the R-SIG-Debian mailing list