Hi Pascal,

Your suggestion work perfectly. I just install de "bitops" package and the
gplots library work ok.

Thanks


On Tue, Mar 13, 2012 at 8:24 AM, Pascal Oettli <kridox@ymail.com> wrote:

> Hi Fernando,
>
> You have to reinstall package 'bitops' too.
>
> Regards,
> Pascal
>
>
>
> ----- Mail original -----
> De : Fernando Pistón <fpiston@gmail.com>
> À : r-help@r-project.org
> Cc :
> Envoyé le : Mardi 13 mars 2012 16h10
> Objet : [R] "gplots" packages does not work
>
> I had installed de "gplots" package and then I loaded the library but the
> package did not work.  I recieved a message like this:
>
> > install.packages("gplots", dependencies = TRUE)
> Installing package(s) into
> ‘/home/fpiston/R/x86_64-pc-linux-gnu-library/2.14’
> (as ‘lib’ is unspecified)
> --- Please select a CRAN mirror for use in this session ---
> Loading Tcl/Tk interface ... done
> trying URL 'http://cran.es.r-project.org/src/contrib/gplots_2.10.1.tar.gz'
> Content type 'application/x-gzip' length 226290 bytes (220 Kb)
> opened URL
> ==================================================
> downloaded 220 Kb
>
> * installing *source* package ‘gplots’ ...
> ** package ‘gplots’ successfully unpacked and MD5 sums checked
> ** R
> ** data
> ** inst
> ** preparing package for lazy loading
> Error : package ‘caTools’ was built before R 2.10.0: please re-install it
> ERROR: lazy loading failed for package ‘gplots’
> * removing ‘/home/fpiston/R/x86_64-pc-linux-gnu-library/2.14/gplots’
>
> The downloaded packages are in
> ‘/tmp/Rtmp2ooBQr/downloaded_packages’
> Warning message:
> In install.packages("gplots", dependencies = TRUE) :
>   installation of package ‘gplots’ had non-zero exit status
> > install.packages("caTools", dependencies = TRUE)
> Installing package(s) into
> ‘/home/fpiston/R/x86_64-pc-linux-gnu-library/2.14’
> (as ‘lib’ is unspecified)
> trying URL 'http://cran.es.r-project.org/src/contrib/caTools_1.12.tar.gz'
> Content type 'application/x-gzip' length 61894 bytes (60 Kb)
> opened URL
> ==================================================
> downloaded 60 Kb
>
> * installing *source* package ‘caTools’ ...
> ** Creating default NAMESPACE file
> ** libs
> g++ -I/usr/share/R/include      -fpic  -O3 -pipe  -g -c Gif2R.cpp -o
> Gif2R.o
> g++ -I/usr/share/R/include      -fpic  -O3 -pipe  -g -c GifTools.cpp -o
> GifTools.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -O3 -pipe  -g -c
> runfunc.c -o runfunc.o
> g++ -shared -o caTools.so Gif2R.o GifTools.o runfunc.o -L/usr/lib64/R/lib
> -lR
> installing to /home/fpiston/R/x86_64-pc-linux-gnu-library/2.14/caTools/libs
> ** R
> ** preparing package for lazy loading
> Error : package ‘bitops’ was built before R 2.10.0: please re-install it
> ERROR: lazy loading failed for package ‘caTools’
> * removing ‘/home/fpiston/R/x86_64-pc-linux-gnu-library/2.14/caTools’
>
> The downloaded packages are in
> ‘/tmp/Rtmp2ooBQr/downloaded_packages’
> Warning message:
> In install.packages("caTools", dependencies = TRUE) :
>   installation of package ‘caTools’ had non-zero exit status
> > library(caTools, pos=4)
> Error: package ‘caTools’ was built before R 2.10.0: please re-install it
> > library(gplots, pos=4)
> Loading required package: gtools
> Loading required package: gdata
>
> Attaching package: ‘gdata’
>
> The following object(s) are masked from ‘package:stats’:
>
>     nobs
>
> The following object(s) are masked from ‘package:utils’:
>
>     object.size
>
> Loading required package: caTools
> Error: package ‘caTools’ was built before R 2.10.0: please re-install it
>
>
>
> --
> Fernando Piston Piston
> fpiston@gmail.com
>
>     [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help@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.
>
>


-- 
Dr. Fernando Pistón Pistón
Instituto de Agricultura Sostenible (CSIC)
Alameda del Obispo s/n
14080-Cordoba
Spain

	[[alternative HTML version deleted]]

