[R-SIG-Mac] problems installing gstat

Raphael.Viscarra-Rossel at csiro.au Raphael.Viscarra-Rossel at csiro.au
Wed Oct 29 09:31:28 CET 2014


I am wondering if anyone else is having problems installing gstat in R
3.1.1 on yosemite (and also mavericks)?

I looked for similar problems on the web but found very little on this.

sessionInfo and errors below.

HelpŠ. please?


> sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-apple-darwin13.1.0 (64-bit)

[1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8

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

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

> install.packages('gstat',type="source", repos='http://cran.csiro.au/')
Installing package into Œ/Users/vis010/Library/R/3.1/library¹
(as Œlib¹ is unspecified)
trying URL 'http://cran.csiro.au/src/contrib/gstat_1.0-19.tar.gz'
Content type 'application/x-gzip' length 2045717 bytes (2.0 Mb)
opened URL
downloaded 2.0 Mb

* installing *source* package Œgstat¹ ...
** package Œgstat¹ successfully unpacked and MD5 sums checked
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
ERROR: configuration failed for package Œgstat¹
* removing Œ/Users/vis010/Library/R/3.1/library/gstat¹
* restoring previous Œ/Users/vis010/Library/R/3.1/library/gstat¹

The downloaded source packages are in
Warning message:
In install.packages("gstat", type = "source", repos =
"http://cran.csiro.au/") :
  installation of package Œgstat¹ had non-zero exit status

More information about the R-SIG-Mac mailing list