我正在使用带有 Microsoft R Open 3.3.1 的 Mac OS X EL Capitan 10.11.6。
遵循安装 MRO 的说明并全新安装 后XQuartz 2.7.9
,每当我想安装任何 R 包时都会出现以下错误,例如,在安装时MASS
,我会看到以下警告消息。好像不影响使用,但是每次看到这个警告就烦。
Warning message:
In doTryCatch(return(expr), name, parentenv, handler) :
unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
Expected in: flat namespace
in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
* installing *source* package ‘MASS’ ...
** package ‘MASS’ successfully unpacked and MD5 sums checked
** libs