[R] Problem installing packages in R 2.11.1

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 8 07:48:30 CEST 2011


On Thu, 7 Apr 2011, Horacio Claudio Morales Torres wrote:

> The issue shows when installing some packages. I was interested in using
> "gplots" so i ran:
>
>    install.packages("gplots", dependencies=TRUE)
>
>
> and the outcome was something like this:
>
>    Aviso en install.packages("gplots", dependencies = TRUE) :
>      argument 'lib' is missing: using
>    '/home/buscoverdad/R/i686-pc-linux-gnu-library/2.11'
>    --- Please select a CRAN mirror for use in this session ---
>    Loading Tcl/Tk interface ... done
>    probando la URL 'http://cran.itam.mx/src/contrib/gplots_2.8.0.tar.gz'
>    Content type 'application/x-gzip' length 257552 bytes (251 Kb)
>    URL abierta
>    ==================================================
>    downloaded 251 Kb
>
>    * installing *source* package 'gplots' ...
>    ** R
>    ** data
>    ** inst
>    ** preparing package for lazy loading
>    Error : package 'gtools' was built before R 2.10.0: please re-install it
>    ERROR: lazy loading failed for package 'gplots'
>    * removing '/home/buscoverdad/R/i686-pc-linux-gnu-library/2.11/gplots'
>
>    The downloaded packages are in
>         '/tmp/Rtmp7ZWQHQ/downloaded_packages'
>    Mensajes de aviso perdidos
>    In install.packages("gplots", dependencies = TRUE) :
>       installation of package 'gplots' had non-zero exit status
>
>
> What should i do? Is there an equivalent package?

Do as the error message said:
>    Error : package 'gtools' was built before R 2.10.0: please re-install it

> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

PLEASE do: that means updating your R before posting, as requested.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list