Skip to content

Package Installation Problem with R 2.7 patched

3 messages · Tony Chiang, Brian Ripley, Simon Urbanek

#
You need to update your tools.  Since you are using a binary version of 
R, you need the same (or later, I guess but cannot predict future 
versions) version of Xcode as that used to build R.  The FAQ at

http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#Additional-resources

says Xcode 2.4.1 is required

I know because this comes up on this list quite often, e.g. the thread 
starting at 
https://stat.ethz.ch/pipermail/r-sig-mac/2008-April/004886.html last week.
On Tue, 29 Apr 2008, Tony Chiang wrote:

            

  
    
#
On Apr 30, 2008, at 5:27 AM, Prof Brian Ripley wrote:
Indeed, and just for completeness, from:
http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#How-to-install-packages

"5.3 Installation of source packages"
[...]
Important: When using binary R installation from CRAN, you must use  
Xcode 2.4.0 or higher (available from see Apple Developer Connection).  
Although R can be built using older tools, the way it is build depends  
on the version of the tools and therefore your must upgrade at least  
to the version of Xcode that the CRAN build uses.

Cheers,
Simon