[R] unable to install package xts

Wang Chongyang wchongyang at gmail.com
Tue Nov 12 05:40:57 CET 2013


I am using Ubuntu 12.04 and unable to install xts. Here are the info:

usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
make: *** [xts.so] Error 1
ERROR: compilation failed for package ‘xts’
* removing ‘/home/jasom/R/x86_64-pc-linux-gnu-library/3.0/xts’
Warning in install.packages :
  installation of package ‘xts’ had non-zero exit status

The downloaded source packages are in
    ‘/tmp/RtmpVH1i1S/downloaded_packages’
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
LC_TIME=en_US.UTF-8
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
LC_ADDRESS=C
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_3.0.2

Thanks in advance.

CY



More information about the R-help mailing list