I'm trying to install the package Rcmdr
however it has a dependency on tcltk2
whom has a dependency on tcltk
but I cannot install tcltk
.
My status:
> capabilities()["tcltk"]
tcltk
FALSE
What I've tried:
install.packages("https://cran.r-project.org/src/contrib/Archive/tcltk/tcltk_0.1-1.tar.gz", type="source", repos=NULL)
Returns:
Installing package into ‘/home/felipeaugustox/R/x86_64-pc-linux-gnu-library/3.6’ (as ‘lib’ is unspecified) trying URL 'https://cran.r-project.org/src/contrib/Archive/tcltk/tcltk_0.1-1.tar.gz' Content type 'application/x-gzip' length 5000 bytes ================================================== downloaded 5000 bytes
ERROR: cannot extract package from ‘/tmp/RtmpH9kH6v/downloaded_packages/tcltk_0.1-1.tar.gz’ Warning in install.packages : installation of package ‘/tmp/RtmpH9kH6v/downloaded_packages/tcltk_0.1-1.tar.gz’ had non-zero exit status
What I also tried:
R CMD INSTALL tcltk_0.1-1.tar.gz
Returns:
ERROR: cannot extract package from ‘tcltk_0.1-1.tar.gz’
My setup:
- R version 3.6.1
- Ubuntu 18.06
sudo apt-get install tcl8.5-dev tk8.5-dev
– Felipe AugustoR CMD INSTALL tcltk_0.1-1.tar.gz
– Felipe Augustor-cran-tcltk2 is already the newest version (1.2-11-1.1).
– Felipe Augusto