Compiling Source Packages on R 2.15.x / Mac OS 10.5.x
[This article was first published on dylan's blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
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/
To leave a comment for the author, please follow the link and comment on their blog: dylan's blog.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.