[英]Error: package or namespace load failed for ‘geoR’: .onLoad failed in loadNamespace() for 'tcltk'
I am trying to use geoR package (v1.7-5.2) within RStudio (v1.0.153, running under Ubuntu 16.04 LTS), but it seems that some Tcl library needs to be reinstalled: 我正在尝试在RStudio(v1.0.153,在Ubuntu 16.04 LTS下运行)中使用geoR软件包(v1.7-5.2),但似乎需要重新安装一些Tcl库:
> 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.
If I start geoR from command line then it starts fine. 如果我从命令行启动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
--------------------------------------------------------------
Try reinstall geoR with dependencies = TRUE. 请尝试重新安装带有= = TRUE的geoR 。
install.packages("geoR",dependencies = TRUE)
library(geoR)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.