我正在尝试在R中安装包rattle
,但最后无论我尝试什么,我总会得到同样的错误:
安装到/usr/local/lib/R/3.3/site-library/RGtk2/libs
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
objc[47575]: Class GNotificationCenterDelegate is implemented in both /opt/local/lib/libgio-2.0.0.dylib and /usr/local/opt/glib/lib/libgio-2.0.0.dylib. One of the two will be used. Which one is undefined.
Error : .onLoad failed in loadNamespace() for 'RGtk2', details:
call: .RGtkCall("S_gtk_builder_get_type", PACKAGE = "RGtk2")
error: object has no G type
Execution stopped
ERROR: loading failed
* removing ‘/usr/local/lib/R/3.3/site-library/RGtk2’
* restoring previous ‘/usr/local/lib/R/3.3/site-library/RGtk2’
我在OS X(我正在运行El Capitan 10.11.6)上安装拨浪鼓时,已经阅读了几篇文章来修复问题,例如设置dependencies = TRUE
,安装mac端口来解决问题,放置pkg-配置文件在正确的文件夹等..但到目前为止没有任何工作。
任何人都可以看到这个错误是什么?非常感谢提前!