I'm running R-1.4.1 on a linux debian (version 2.2) box. I've tried to upgrade to R-1.6.0, and the execution of make halts with the following error messages: make[4]: Entering directory `/home/tebaldi/R/R-1.6.0/src/library/methods' dumping R code in package 'methods' Error in testRversion(descfile) : This package has not been installed properly See the Note in ?library Execution halted make[4]: *** [../../../library/methods/R/all.rda] Error 1 make[4]: Leaving directory `/home/tebaldi/R/R-1.6.0/src/library/methods' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/tebaldi/R/R-1.6.0/src/library/methods' make[2]: *** [R] Error 1 make[2]: Leaving directory `/home/tebaldi/R/R-1.6.0/src/library' make[1]: *** [R] Error 1 make[1]: Leaving directory `/home/tebaldi/R/R-1.6.0/src' make: *** [R] Error 1 161.280u 8.410s 2:52.68 98.2% 0+0k 0+0io 545013pf+0w Something similar happened a few months ago, when I tried to upgrade to R-1.5.1. At the time the solution suggested was to use the precompiled binary distribution, available on CRAN. Turns out, I do not have root privileges and I cannot touch the files in /etc. At the time I gave up, but now I'd really like to "step up" to the newer version of R. I've looked around but I cannot find any help for installing these precompiled binary, if not by the 'apt-get' program, to which I have no access as simple user of the machine (i.e I cannot add lines to the files in /etc like it is explained in the /bin/linux/debian/ReadMe file. Can someone please either help me with the error message or point me at instructions on how to install binaries without going through the apt-... program? I assume they are somewhere, but don't know where! Thanks in advance claudia ---------------------------------------------------------------------- claudia tebaldi NCAR ESIG/RAP project scientist P.O. Box 3000 M-W @FL (303) 497-8133 Boulder, CO 80307 Tu-Th-F @ML (303) 497-1621 tebaldi at ucar.edu -------------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> Something similar happened a few months ago, when I tried to upgrade to > R-1.5.1. At the time the solution suggested was to use the > precompiled binary distribution, available on CRAN. > Turns out, I do not have root privileges and I cannot touch the files in > /etc. At the time I gave up, but now I'd really like to "step up" to the > newer version of R. > I've looked around but I cannot find any help for installing these > precompiled binary, if not by the 'apt-get' program, > to which I have no access as simple user of the machine (i.e I cannot add > lines to the files in /etc like it is explained in the > /bin/linux/debian/ReadMe file.Given your situation, you might want to try a fudge or two. A .deb archive can be opened with the GNU ar archiver (see "man ar") via "ar xv foo.deb" That gives you three files, one which is a tarball with the actual "package". You could simply untar this below you home directory --- and then set R_HOME accordingly in what would be /usr/bin/R. That said, it might just be easier if you made sure you have the usual compilers and tools installed, and built a new R locally into a subdir of your home directory. Dirk -- According to the latest figures, 43% of all signatures are totally worthless. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Claudia Tebaldi <tebaldi at rap.ucar.edu> writes:> I'm running R-1.4.1 on a linux debian (version 2.2) box. > I've tried to upgrade to R-1.6.0, and the execution of make halts with the > following error messages: > > make[4]: Entering directory `/home/tebaldi/R/R-1.6.0/src/library/methods' > dumping R code in package 'methods' > Error in testRversion(descfile) : This package has not been installed > properly > See the Note in ?library > Execution halted > make[4]: *** [../../../library/methods/R/all.rda] Error 1 > make[4]: Leaving directory `/home/tebaldi/R/R-1.6.0/src/library/methods' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/home/tebaldi/R/R-1.6.0/src/library/methods' > make[2]: *** [R] Error 1 > make[2]: Leaving directory `/home/tebaldi/R/R-1.6.0/src/library' > make[1]: *** [R] Error 1 > make[1]: Leaving directory `/home/tebaldi/R/R-1.6.0/src' > make: *** [R] Error 1 > 161.280u 8.410s 2:52.68 98.2% 0+0k 0+0io 545013pf+0w > > > Something similar happened a few months ago, when I tried to upgrade to > R-1.5.1. At the time the solution suggested was to use the > precompiled binary distribution, available on CRAN. > Turns out, I do not have root privileges and I cannot touch the files in > /etc. At the time I gave up, but now I'd really like to "step up" to the > newer version of R. > I've looked around but I cannot find any help for installing these > precompiled binary, if not by the 'apt-get' program, > to which I have no access as simple user of the machine (i.e I cannot add > lines to the files in /etc like it is explained in the > /bin/linux/debian/ReadMe file. > > > Can someone please either help me with the error message or point > me at instructions on how to install binaries without going through the > apt-... program? I assume they are somewhere, but don't know where!My suggestion would be to download the .deb files and run dpkg --inst=~ -i *.deb The manual page for dpkg says --root=dir | --admindir=dir | --instdir=dir Change default directories. admindir defaults to /var/lib/dpkg and contains many files that give information about status of installed or uninstalled packages, etc. instdir defaults to / and refers to the directory where packages are to be installed. instdir is also the directory passed to chroot(2) before running package's installation scripts, which means that the scripts see instdir as a root directory. Changing root changes instdir to dir and admindir to dir/var/lib/dpkg. I haven't tried this myself. Debian experts such as Dirk Eddelbuettel or Tony Rossini may be able to suggest an easier method. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._