[R] uninstalling and installing on linux

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Apr 23 18:51:31 CEST 2010



On 23.04.2010 18:10, Juliet Hannah wrote:
> Hi List,
>
> I have a question about uninstalling and installing R on linux, which
> I am new to.
>
>> sessionInfo()
> R version 2.10.1 (2009-12-14)
> x86_64-unknown-linux-gnu
>
> locale:
>   [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>   [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>   [5] LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8
>   [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
>   [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
>
> First, I am trying to uninstall my old version of R with "make uninstall".
>
>
>   [jh1 at head4 ~/R-2.10.1]$ make uninstall
> make[1]: Entering directory `/home/merlin/jh1/R-2.10.1/po'
> make[1]: Leaving directory `/home/merlin/jh1/R-2.10.1/po'
> make[1]: Entering directory `/home/merlin/jh1/R-2.10.1/tests'
> make[1]: Nothing to be done for `uninstall'.
> make[1]: Leaving directory `/home/merlin/jh1/R-2.10.1/tests'
> make[1]: Entering directory `/home/merlin/jh1/R-2.10.1/src'
> make[2]: Entering directory `/home/merlin/jh1/R-2.10.1/src/library'
> uninstalling packages ...
> /bin/sh: line 0: cd: /usr/local/lib64/R/library: No such file or directory
>    subdir /usr/local/lib64/R/library not removed
> make[2]: Leaving directory `/home/merlin/jh1/R-2.10.1/src/library'
> make[2]: Entering directory `/home/merlin/jh1/R-2.10.1/src/modules'
> make[2]: Leaving directory `/home/merlin/jh1/R-2.10.1/src/modules'
> make[2]: Entering directory `/home/merlin/jh1/R-2.10.1/src/main'
> make[2]: Leaving directory `/home/merlin/jh1/R-2.10.1/src/main'
> make[2]: Entering directory `/home/merlin/jh1/R-2.10.1/src/unix'
> make[2]: Leaving directory `/home/merlin/jh1/R-2.10.1/src/unix'
> make[2]: Entering directory `/home/merlin/jh1/R-2.10.1/src/nmath'
> make[2]: Nothing to be done for `uninstall'.
> make[2]: Leaving directory `/home/merlin/jh1/R-2.10.1/src/nmath'
> make[2]: Entering directory `/home/merlin/jh1/R-2.10.1/src/appl'
> make[2]: Nothing to be done for `uninstall'.
> make[2]: Leaving directory `/home/merlin/jh1/R-2.10.1/src/appl'
> make[2]: Entering directory `/home/merlin/jh1/R-2.10.1/src/extra'
> make[2]: Nothing to be done for `uninstall'.
> make[2]: Leaving directory `/home/merlin/jh1/R-2.10.1/src/extra'
> make[2]: Entering directory `/home/merlin/jh1/R-2.10.1/src/include'
> make[3]: Entering directory `/home/merlin/jh1/R-2.10.1/src/include/R_ext'
> make[3]: Leaving directory `/home/merlin/jh1/R-2.10.1/src/include/R_ext'
> make[2]: Leaving directory `/home/merlin/jh1/R-2.10.1/src/include'
> make[2]: Entering directory `/home/merlin/jh1/R-2.10.1/src/scripts'
> make[2]: Leaving directory `/home/merlin/jh1/R-2.10.1/src/scripts'
> make[1]: Leaving directory `/home/merlin/jh1/R-2.10.1/src'
> make[1]: Entering directory `/home/merlin/jh1/R-2.10.1/share'
> uninstalling share ...
> make[1]: Leaving directory `/home/merlin/jh1/R-2.10.1/share'
> make[1]: Entering directory `/home/merlin/jh1/R-2.10.1/etc'
> uninstalling etc ...
> make[1]: Leaving directory `/home/merlin/jh1/R-2.10.1/etc'
> make[1]: Entering directory `/home/merlin/jh1/R-2.10.1/doc'
> uninstalling doc ...
> make[1]: Leaving directory `/home/merlin/jh1/R-2.10.1/doc'
> make[1]: Entering directory `/home/merlin/jh1/R-2.10.1/tools'
> make[1]: Nothing to be done for `uninstall'.
> make[1]: Leaving directory `/home/merlin/jh1/R-2.10.1/tools'
> make[1]: Entering directory `/home/merlin/jh1/R-2.10.1/m4'
> make[1]: Nothing to be done for `uninstall'.
> make[1]: Leaving directory `/home/merlin/jh1/R-2.10.1/m4'
>
> This has not worked for me, meaning I can still use R, so instead I
> removed the directory
>
> rm -fR R-2.10.1
>
> Is one method preferable to another. And what am I doing incorrectly
> with "make uninstall"?

Don't know, probably not many are using it and it may be fairly untested.


> My second question is about installation. I just installed the new
> version for Windows,and it took a few minutes.

But this was from the installer (i.e. precompiled binaries).


>
> On linux, I
>
> downloaded the R tar.gz file
> tar xzvf R-2.9.1.tar.gz (old command)
> ./configure
>   make
> make check
>
> This process takes about 2 hours. I'm curious about the time it takes,
> and wondering if I am doing any incorrectly?

2 hours sound fine if you are installing from sources and apply the 
checks afterwards, given your machine is not an extremly fast one. 
Should be roughly the same under Windows when installing from sources.

On my rather fast multi-core Windows server, parallel make and with 
pretty fast RAID array it takes 1:50 including
   make check-all

Best wishes,
Uwe Ligges



> Thanks,
>
> Juliet
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list