r - Rcmdr launch error in Yosemite (OS X 10.10) -
r - Rcmdr launch error in Yosemite (OS X 10.10) -
after upgrading os x 10.10 yosemite started receive next error log when running rcmdr
bundle in r using library(rcmdr)
:
error : .onload failed in loadnamespace() 'tcltk', details: call: dyn.load(file, dllpath = dllpath, ...) error: unable load shared object '/library/frameworks/r.framework/versions/3.1/resources/library/tcltk/libs/tcltk.so': dlopen(/library/frameworks/r.framework/versions/3.1/resources/library/tcltk/libs/tcltk.so, 10): library not loaded: /usr/x11/lib/libxft.2.dylib referenced from: /usr/local/lib/libtk8.6.dylib reason: image not found error: bundle or namespace load failed 'rcmdr'
could help me understand how prepare it?
this mac os x troubleshooting didn't help.
execute next in terminal window:
locate libxft.2.dylib
or r console:
system("locate libxft.2.dylib")
on yosemite install it's in /opt/x11/lib/libxft.2.dylib
.
if setup similar, then:
sudo ln -s /opt/x11 /usr/x11
should help prepare temporarily, i'd maintain looking yosemite r bundle (since accommodate changes apple made filesystem structure).
of note: on work mac (mavericks) symlink there.
r osx-yosemite r-commander
Comments
Post a Comment