简体   繁体   English

错误:“ geoR”的程序包或名称空间加载失败:.tcltk的loadNamespace()在.onLoad中失败

[英]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.

相关问题 错误“.onLoad 在 'tcltk' 的 loadNamespace() 中失败” - Error ".onLoad failed in loadNamespace() for 'tcltk'" Rcmdr错误:.onLoad在'tcltk'的loadNamespace()中失败 - Rcmdr Error : .onLoad failed in loadNamespace() for 'tcltk' 错误:.onLoad在'tcltk'的loadNamespace()中失败,详细信息: - Error: .onLoad failed in loadNamespace() for 'tcltk', details: 错误:loadNamespace 中“tidyverse”的包或命名空间加载失败 - Error: package or namespace load failed for ‘tidyverse’ in loadNamespace 错误:'tcltk' 的 loadNamespace() 中的 .onLoad 失败,详细信息:调用:fun(libname, pkgname) - Error : .onLoad failed in loadNamespace() for 'tcltk', details:call: fun(libname, pkgname) r编程-loadnamespace中的错误-包或名称空间加载失败 - r programming - error in loadnamespace - package or namespace load failed > library(ez)错误:loadNamespace中'ez'的包或命名空间加载失败 - > library(ez) Error: package or namespace load failed for ‘ez’ in loadNamespace R package 错误:package 或加载命名空间中“reshape2”的命名空间加载失败:没有名为“magrittr”的 package - R package Error: package or namespace load failed for ‘reshape2’ in loadNamespace: there is no package called ‘magrittr’ 错误:.onLoad在'rJava'的loadNamespace()中失败,详细信息在安装软件包时 - Error : .onLoad failed in loadNamespace() for 'rJava', details while installing a package Jupyter 笔记本:Package 或 loadNamespace 中“插入符号”的命名空间加载失败 - Jupyter notebook: Package or namespace load failed for 'caret' in loadNamespace
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM