根据rmongodb
,MongoDB驱动程序包this issue崩溃了R 2.15.2。
作者已在GitHub上修复了该问题,但CRAN尚未更新。作者只能访问Windows平台,无法为Mac OS X构建软件包。当我尝试在Mac OS X上从源代码安装软件包时,出现构建错误。
2087[SPX/r(ss_mongo_rep *)]$ r CMD INSTALL ~/Downloads/rmongodb-master/rmongodb.tar.gz
* installing to library ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library’
* installing *source* package ‘rmongodb’ ...
** libs
*** arch - i386
make: *** No rule to make target `._api.o', needed by `rmongodb.so'. Stop.
ERROR: compilation failed for package ‘rmongodb’
* removing ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rmongodb’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rmongodb’
我很感激如何解决这个问题,或者更好的是指向该软件包的64位Mac OS X二进制文件的链接。