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' –