我的Archlinux,我尝试运行install.packages("zoo")
,我得到了以下错误消息:错误:.onLoad失败loadNamespace()为“tcltk”,细节:
Error: .onLoad failed in loadNamespace() for 'tcltk', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/usr/lib/R/library/tcltk/libs/tcltk.so': libtk8.6.so: cannot open shared object file: No such file or directory
我知道这个问题已经被在这个网站上问,但我找不到一个工作的答案。
capabilities("tcltk")
# tcltk
# TRUE
library(tcltk)
Error : .onLoad failed in loadNamespace() for 'tcltk', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/usr/lib/R/library/tcltk/libs/tcltk.so': libtk8.6.so: cannot open shared object file: No such file or directory Error: package or namespace load failed for ‘tcltk’
就如何解决这个问题的任何想法?
您是否安装了该软件包?这里是列出的文件,你需要安装'tcltk'https://www.archlinux.org/packages/extra/i686/tk/files/ –
@J_F我安装了包tk和它的工作,我试图安装tcltk事先..谢谢! – ChiseledAbs