我最近将我的MacOS升级到了Yosemite,然后遇到了各种软件包的R问题。
> $ devtools::install_github("dvanclev/GTrendsR")
> Downloading github repo dvanclev/GTrendsR@master
Installing GTrendsR
Installing dependencies for GTrendsR:
googleVis
--- Please select a CRAN mirror for use in this session ---
Error: .onLoad failed in loadNamespace() for 'tcltk', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to 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有人能为我提供这个问题的解决方案吗?
发布于 2015-04-11 12:42:29
您运行的R版本可能与您尝试安装的软件包不兼容。您需要更新R才能使此程序包工作。
从screen.
终端中的http://rweb.quant.ku.edu/cran/bin/macosx/R-3.1.3-mavericks.pkg
devtools::install_github("dvanclev/GTrendsR")https://stackoverflow.com/questions/29571627
复制相似问题