It is hard to install some packages in the new R build on OSX Mavericks. Both rgeosand rgdalreturn, for example:
package 'rgeos' is available as a source package but not as a binary
Warning in install.packages :
package 'rgeos' is not available (for R version 3.1.1)
On my Windows system, both packages are installed perfectly for R 3.1.1, so is this a problem with the Mavericks / OSX version or am I having a problem with my build? Changing the library repository does not matter. I looked at creating from binaries, but, for example, on the rgeos homepage page , it says: "OS X Mavericks binaries: r-release: not available", so I am a snooker.
Thanks for the tips.
Edit:
Trying to suggest @Andrie:
> install.packages('rgeos', type='source')
Installing package into ‘/Users/robinedwards/Library/R/3.1/library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.ma.imperial.ac.uk/src/contrib/rgeos_0.3-6.tar.gz'
Content type 'application/x-gzip' length 240510 bytes (234 Kb)
opened URL
==================================================
downloaded 234 Kb
* installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: clang
configure: CXX: clang++
configure: rgeos: 0.3-4
checking for /usr/bin/svnversion... yes
configure: svn revision: 450
checking geos-config usability...
./configure: line 2056: geos-config: command not found
no
configure: error: geos-config not usable
ERROR: configuration failed for package ‘rgeos’
* removing ‘/Users/robinedwards/Library/R/3.1/library/rgeos’
Warning in install.packages :
installation of package ‘rgeos’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/_s/ppznw4sx7p51kwv__hj3d8540000gn/T/RtmpK40xj7/downloaded_packages’
And a screenshot of the build page:

source
share