OS X Yosemite升级后无法在R中加载X11,而不是root

时间:2015-06-01 08:59:57

标签: r macos root x11 yosemite

当我尝试使用R安装某些软件包时收到以下错误消息。

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Error in setwd(cDir) : character argument expected
In addition: 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): Library not loaded: /opt/X11/lib/libSM.6.dylib
  Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
  Reason: image not found
Error in setwd(cDir) : character argument expected

此问题已在此处解决: Can't load X11 in R after OS X Yosemite upgrade

我的问题是我没有root访问权限。有没有办法在没有root访问权限的情况下解决这个问题?

由于

0 个答案:

没有答案