I use Manjaro, I'm quite new, so I still have a lot of problems to manage it.
> install.packages("Rcmdr")
Installing package into ‘/home/eudald/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependency ‘tcltk2’
trying URL 'https://cran.rstudio.com/src/contrib/tcltk2_1.2-11.tar.gz'
Content type 'application/x-gzip' length 833846 bytes (814 KB)
==================================================
downloaded 814 KB
trying URL 'https://cran.rstudio.com/src/contrib/Rcmdr_2.6-0.tar.gz'
Content type 'application/x-gzip' length 5508291 bytes (5.3 MB)
==================================================
downloaded 5.3 MB
* installing *source* package ‘tcltk2’ ...
** package ‘tcltk2’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: package or namespace load failed for ‘tcltk’:
.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: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix
Error: package ‘tcltk’ could not be loaded
Execution halted
ERROR: lazy loading failed for package ‘tcltk2’
* removing ‘/home/eudald/R/x86_64-pc-linux-gnu-library/3.6/tcltk2’
Warning in install.packages :
installation of package ‘tcltk2’ had non-zero exit status
ERROR: dependency ‘tcltk2’ is not available for package ‘Rcmdr’
* removing ‘/home/eudald/R/x86_64-pc-linux-gnu-library/3.6/Rcmdr’
Warning in install.packages :
installation of package ‘Rcmdr’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmp0dTpDq/downloaded_packages’
What should I do?
Thanks a lot!