[R] R packages installation error in Ubuntu

R. Michael Weylandt michael.weylandt at gmail.com
Thu Jul 19 22:27:32 CEST 2012


On Thu, Jul 19, 2012 at 2:41 PM, uday <uday_143_4u at hotmail.com> wrote:
> Hi,
>
> 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")

Why would that help?

Also: don't double post. Sarah already told you how to fix this four
hours ago here:
https://stat.ethz.ch/pipermail/r-help/2012-July/318876.html

Michael

>  but still I am unable to fix this problem.
> I would be very grateful if somebody can help me to fix this problem.
>
>  install.packages("hdf5")
> Installing package(s) into ‘/home/uday/R/x86_64-pc-linux-gnu-library/2.14’
> (as ‘lib’ is unspecified)
> trying URL
> 'http://cran.revolutionanalytics.com/src/contrib/hdf5_1.6.9.tar.gz'
> 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
>         ‘/tmp/Rtmp7Ot3Yl/downloaded_packages’
>
> --
> 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.
>
> ______________________________________________
> 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