0
我想在RStudio中使用geoR包(v1.7-5.2)(v1.0.153,在Ubuntu下运行16.04 LTS),但似乎有些Tcl库需要重新安装:错误:'geoR'的包或名称空间加载失败:.onLoad在'tcltk'的loadNamespace()失败
> library(geoR)
Error: package or namespace load failed for ‘geoR’:
.onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: Can't find a usable init.tcl in the following directories:
/builddir/vendor/build/lib/tcl8.6 ./lib/tcl8.6 ./lib/tcl8.6 ./library ./library ./tcl8.6.5/library ./tcl8.6.5/library
This probably means that Tcl wasn't installed properly.
如果我的命令行启动geoR然后开始罚款。
> library(geoR)
--------------------------------------------------------------
Analysis of Geostatistical Data
For an Introduction to geoR go to http://www.leg.ufpr.br/geoR
geoR version 1.7-5.2 (built on 2016-05-02) is now loaded
--------------------------------------------------------------
刚刚尝试过。还是一样的错误。 –
错误可能是因为'tcltk'包。检查功能() “tcltk”] –
我得到: '>功能() “tcltk”]' 'tcltk TRUE' –