我的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