[R-sig-Debian] Ubuntu JGR

Dirk Eddelbuettel edd at debian.org
Tue Jul 14 10:07:46 CEST 2009


On 14 July 2009 at 09:45, Gunnar Hoyer wrote:
| 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’

You now posted this error message two or three times. At some point you have
to sit down and actually look at it yourself:  the file 
	 ‘/home/gunnar/R/i486-pc-linux-gnu-library/2.9/00LOCK’
had previously been created and cannot be removed.   

You need to figure out why and/or remove it with a local root command.

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

That is not exactly the scope of this mailing list. We try to help where we
can with _general Debian / Ubuntu issues_.  If nobody can provide help for
particular apps like JGR you may have to consider the JGR lists.

Sorry, but I cannot provide anything more detailed. 

Dirk
 
| Thanks in andvance. 
| 
| Best wishes
| 
| _______________________________________________
| R-SIG-Debian mailing list
| R-SIG-Debian at r-project.org
| https://stat.ethz.ch/mailman/listinfo/r-sig-debian

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



More information about the R-SIG-Debian mailing list