Hello, You probably should install a Fortran compiler.
Regards, Pascal On 12 November 2013 13:40, Wang Chongyang <wchongy...@gmail.com> wrote: > 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 > > ______________________________________________ > 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. > -- Pascal Oettli Project Scientist JAMSTEC Yokohama, Japan [[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.