Hi again,
I run R under SuSE 9.2 Professional (installed via rpm) and I am trying to
install some packages from CRAN. The trouble is, after successful
installations, my destdir directory is deleted...!
My command:
install.packages("Rcmdr", "/usr/lib/R/library",
CRAN="http://cran.r-project.org",
destdir="/home/adi/Kituri/R.packages",
dependencies=TRUE)
After each package I get:
WARNING: UTF-8 locales are not currently supported
Package rgl gives:
ERROR: compilation failed for package 'rgl'
** Removing '/usr/lib/R/library/rgl'
** Restoring previous '/usr/lib/R/library/rgl'
Warning message:
Installation of package rgl had non-zero exit status in:
install.packages("rgl", "/usr/lib/R/library", CRAN =
"http://cran.r-project.org",
Trying to run Rcmdr I get:
library(Rcmdr)
Loading required package: tcltk
Error in fun(...) : this isn't a Tk applicationcouldn't connect to
display
"homelinux.roda.local:0.0"
Error: .onLoad failed in loadNamespace for 'tcltk'
Error: package 'tcltk' could not be loaded
I have the tcl and tk packages installed under SuSE.
The command whereis g77 gives:
g77: /usr/bin/g77 /usr/share/man/man1/g77.1.gz
R.version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 0.1
year 2004
month 11
day 15
language R
Could you please advice?
Thank you,
Adrian
--
Adrian Dusa
Arhiva Romana de Date Sociale
Bd. Schitu Magureanu nr.1
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
Hi Adrian, Am Sonntag, 6. Februar 2005 15:22 schrieb Adrian Dusa:> Hi again, > > I run R under SuSE 9.2 Professional (installed via rpm) and I am > trying to install some packages from CRAN. The trouble is, after > successful installations, my destdir directory is deleted...!Rather strange? What about downloading all CRAN-packages in a selected directory, choosing in YAST this dir as an installation-resource? Try to install these packages again. Does this work?> > My command: > install.packages("Rcmdr", "/usr/lib/R/library", > CRAN="http://cran.r-project.org", > destdir="/home/adi/Kituri/R.packages", dependencies=TRUE) > > After each package I get: > WARNING: UTF-8 locales are not currently supported > > Package rgl gives: > ERROR: compilation failed for package 'rgl' > ** Removing '/usr/lib/R/library/rgl' > ** Restoring previous '/usr/lib/R/library/rgl' > Warning message: > Installation of package rgl had non-zero exit status in: > install.packages("rgl", "/usr/lib/R/library", CRAN > "http://cran.r-project.org",Sure that your current installations meets all required dependencies? Related READMEs of the packages will tell you! (look especially for versioning information of the required apps)> > I have the tcl and tk packages installed under SuSE. > > The command whereis g77 gives: > g77: /usr/bin/g77 /usr/share/man/man1/g77.1.gzNot quite sure if you have the required versions of these progs? I am running Suse-9.2, so far this seem to work smoothly.... regards Thomas