[R] further issues with install.packages

Thomas Schönhoff tom_hoary at web.de
Sun Feb 6 18:00:58 CET 2005


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

Not 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




More information about the R-help mailing list