[R] R packages installation error in Ubuntu

uday uday_143_4u at hotmail.com
Thu Jul 19 21:41:04 CEST 2012


Recently I have installed R version 2.14.1, after installation I am trying
to install some packages and I get error message. even I tried
install.packages("Rcmdr") but still I am unable to fix this problem.
I would be very grateful if somebody can help me to fix this problem. 

Installing package(s) into ‘/home/uday/R/x86_64-pc-linux-gnu-library/2.14’
(as ‘lib’ is unspecified)
trying URL
Content type 'application/x-gzip' length 50870 bytes (49 Kb)
opened URL
downloaded 49 Kb

* installing *source* package ‘hdf5’ ...
** package ‘hdf5’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for library containing inflate... -lz
checking for library containing H5open... no
configure: error: Can't find HDF5
ERROR: configuration failed for package ‘hdf5’
* removing ‘/home/uday/R/x86_64-pc-linux-gnu-library/2.14/hdf5’
Warning in install.packages :
  installation of package ‘hdf5’ had non-zero exit status

The downloaded packages are in

View this message in context: http://r.789695.n4.nabble.com/R-packages-installation-error-in-Ubuntu-tp4637105.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list