Compiling Source Packages on R 2.15.x / Mac OS 10.5.x

Submitted by dylan on Fri, 2012-08-31 20:45.

For some reason R is not happy with its 64-bit cousin when installing source packages:

* installing *source* package ‘XMLSchema’ ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
*** arch - x86_64
/Library/Frameworks/R.framework/Resources/bin/R: line 259: /Library/Frameworks/R.framework/Resources/bin/exec/x86_64/R: Bad CPU type in executable
/Library/Frameworks/R.framework/Resources/bin/R: line 259: /Library/Frameworks/R.framework/Resources/bin/exec/x86_64/R: Unknown error: 0
ERROR: loading failed for ‘x86_64’
* removing ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/XMLSchema’

Quick hack to get things moving along: throw out the 64-bit binary, located at:

rm -rf /Library/Frameworks/R.framework/Resources/bin/exec/x86_64/


The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <div> <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Copy the characters (respecting upper/lower case) from the image.