本文介绍了错误:.onLoad在'tcltk'的loadNamespace()中失败,详细信息:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有Archlinux,尝试运行install.packages("zoo")
,并收到以下错误消息:
I have Archlinux and I try to run install.packages("zoo")
and I get the following error message :
我知道这个网站上已经有人问过这个问题,但是我找不到有效的答案.
I know this problem has already been asked on this site but I can't find a working answer.
capabilities("tcltk")
# tcltk
# TRUE
library(tcltk)
关于如何解决此问题的任何想法?
Any idea on how to fix this problem ?
推荐答案
Archlinux提供了系统正在搜索的所需软件包.
Archlinux offers the needed package your system is searching for.
- 在系统上安装此软件包
- 随后通过
install.packages("tcltk")
在R中安装tcltk
. - 现在您可以完全安装软件包
zoo
:install.packages("zoo")
.
- Install this package on your system
- Subsequent install
tcltk
in R viainstall.packages("tcltk")
. - Now you are able to install the package
zoo
completely:install.packages("zoo")
.
这应该可以解决您的问题.
This should solve your problem.
这篇关于错误:.onLoad在'tcltk'的loadNamespace()中失败,详细信息:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!