I have Archlinux and I try to run install.packages("zoo")
and I get the following error message :
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
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)
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’
Any idea on how to fix this problem ?
Archlinux offers the needed package your system is searching for.
tcltk
in R via install.packages("tcltk")
. zoo
completely: install.packages("zoo")
.This should solve your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With