[R] Error Installing packages
Uwe Ligges
ligges at statistik.tu-dortmund.de
Sat Apr 27 18:04:48 CEST 2013
On 26.04.2013 19:15, Pramod Anugu wrote:
> I am trying to install the package boss but i am getting error below:
> Please advice
Well, it says
configure: error: netcdf header netcdf.h not found
so perhaps you do not have the netcdf headers installed?
Best,
Uwe Ligges
>
> install.packages("boss")
>
> --- Please select a CRAN mirror for use in this session ---
>
> CRAN mirror
>
>
>
> 1: 0-Cloud 2: Argentina (La Plata)
>
> 3: Argentina (Mendoza) 4: Australia (Canberra)
>
> 5: Australia (Melbourne) 6: Austria
>
> 7: Belgium 8: Brazil (PR)
>
> 9: Brazil (RJ) 10: Brazil (SP 1)
>
> 11: Brazil (SP 2) 12: Canada (BC)
>
> 13: Canada (NS) 14: Canada (ON)
>
> 15: Canada (QC 1) 16: Canada (QC 2)
>
> 17: Chile 18: China (Beijing 1)
>
> 19: China (Beijing 2) 20: China (Guangzhou)
>
> 21: China (Hefei) 22: China (Xiamen)
>
> 23: Colombia (Bogota) 24: Colombia (Cali)
>
> 25: Denmark 26: Ecuador
>
> 27: France (Lyon 1) 28: France (Lyon 2)
>
> 29: France (Montpellier) 30: France (Paris 1)
>
> 31: France (Paris 2) 32: Germany (Berlin)
>
> 33: Germany (Bonn) 34: Germany (Falkenstein)
>
> 35: Germany (Goettingen) 36: Greece
>
> 37: Hungary 38: India
>
> 39: Indonesia 40: Iran
>
> 41: Ireland 42: Italy (Milano)
>
> 43: Italy (Padua) 44: Italy (Palermo)
>
> 45: Japan (Hyogo) 46: Japan (Tsukuba)
>
> 47: Japan (Tokyo) 48: Korea (Seoul 1)
>
> 49: Korea (Seoul 2) 50: Latvia
>
> 51: Mexico (Mexico City) 52: Mexico (Texcoco)
>
> 53: Netherlands (Amsterdam) 54: Netherlands (Utrecht)
>
> 55: New Zealand 56: Norway
>
> 57: Philippines 58: Poland
>
> 59: Portugal 60: Russia
>
> 61: Singapore 62: Slovakia
>
> 63: South Africa (Cape Town) 64: South Africa (Johannesburg)
>
> 65: Spain (Madrid) 66: Sweden
>
> 67: Switzerland 68: Taiwan (Taichung)
>
> 69: Taiwan (Taipei) 70: Thailand
>
> 71: Turkey 72: UK (Bristol)
>
> 73: UK (London) 74: UK (St Andrews)
>
> 75: USA (CA 1) 76: USA (CA 2)
>
> 77: USA (IA) 78: USA (IN)
>
> 79: USA (KS) 80: USA (MD)
>
> 81: USA (MI) 82: USA (MO)
>
> 83: USA (OH) 84: USA (OR)
>
> 85: USA (PA 1) 86: USA (PA 2)
>
> 87: USA (TN) 88: USA (TX 1)
>
> 89: USA (WA 1) 90: USA (WA 2)
>
> 91: Venezuela 92: Vietnam
>
>
>
>
>
> Selection: 86
>
> also installing the dependency 'ncdf'
>
>
>
> trying URL 'http://cran.mirrors.hoobly.com/src/contrib/ncdf_1.6.6.tar.gz'
>
> Content type 'application/x-gzip' length 79403 bytes (77 Kb)
>
> opened URL
>
> ==================================================
>
> downloaded 77 Kb
>
>
>
> trying URL 'http://cran.mirrors.hoobly.com/src/contrib/boss_1.2.tar.gz'
>
> Content type 'application/x-gzip' length 9702 bytes
>
> opened URL
>
> ==================================================
>
> downloaded 9702 bytes
>
>
>
> * installing *source* package 'ncdf' ...
>
> ** package 'ncdf' successfully unpacked and MD5 sums checked
>
> checking for nc-config... no
>
> checking for gcc... gcc -std=gnu99
>
> checking whether the C compiler works... yes
>
> checking for C compiler default output file name... a.out
>
> checking for suffix of executables...
>
> checking whether we are cross compiling... no
>
> checking for suffix of object files... o
>
> checking whether we are using the GNU C compiler... yes
>
> checking whether gcc -std=gnu99 accepts -g... yes
>
> checking for gcc -std=gnu99 option to accept ISO C89... none needed
>
> checking how to run the C preprocessor... gcc -std=gnu99 -E
>
> checking for grep that handles long lines and -e... /bin/grep
>
> checking for egrep... /bin/grep -E
>
> checking for ANSI C header files... yes
>
> checking for sys/types.h... yes
>
> checking for sys/stat.h... yes
>
> checking for stdlib.h... yes
>
> checking for string.h... yes
>
> checking for memory.h... yes
>
> checking for strings.h... yes
>
> checking for inttypes.h... yes
>
> checking for stdint.h... yes
>
> checking for unistd.h... yes
>
> checking netcdf.h usability... no
>
> checking netcdf.h presence... no
>
> checking for netcdf.h... no
>
> configure: error: netcdf header netcdf.h not found
>
> ERROR: configuration failed for package 'ncdf'
>
> * removing '/share/apps/R-2.15.3/lib64/R/library/ncdf'
>
> ERROR: dependency 'ncdf' is not available for package 'boss'
>
> * removing '/share/apps/R-2.15.3/lib64/R/library/boss'
>
>
>
> The downloaded source packages are in
>
> '/tmp/RtmppOWF74/downloaded_packages'
>
> Updating HTML index of packages in '.Library'
>
> Making packages.html ... done
>
> Warning messages:
>
> 1: In install.packages("boss") :
>
> installation of package 'ncdf' had non-zero exit status
>
> 2: In install.packages("boss") :
>
> installation of package 'boss' had non-zero exit status
>
>>
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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