Observation: On installation (new) of tidyverse from within Rstudio it first stalled out and locked up during downloads on Friday.
install.packages("tidyverse")
Installing package into ‘/home/joe/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
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 removed R and Rstudio from my Manjaro stable system and reinstalled with all options from AUR. Which fixed some issues, good for other newbies to know.
On Sunday install.packages("tidyverse") downloaded files but ended with what seems a warning and does not update. What are its implications and can I do anything to fix it ? Are these being fixed?
Message:
ERROR: dependencies ‘haven’, ‘readr’ are not available for package ‘tidyverse’
removing ‘/home/joe/R/x86_64-pc-linux-gnu-library/3.6/tidyverse’
Warning in install.packages :
installation of package ‘tidyverse’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmp0N1skw/downloaded_packages’
tidyverse_update()
Error in tidyverse_update() : could not find function "tidyverse_update"
Am a newbie about R... I did this and still got an error. Ideas?
> install.packages("readr") Installing package into ‘/home/joe/R/x86_64-pc-linux-gnu-library/3.6’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/src/contrib/readr_1.3.1.tar.gz' Content type 'application/x-gzip' length 268853 bytes (262 KB) ================================================== downloaded 262 KB
ERROR: failed to lock directory ‘/home/joe/R/x86_64-pc-linux-gnu-library/3.6’ for modifying Try removing ‘/home/joe/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-readr’ Warning in install.packages :
installation of package ‘readr’ had non-zero exit status*
Thanks. I am struggling to work from home, and devoting an open ended period to work on this had to wait. I was not sure what else might have to be done.... By the time I saw your help, much appreciated, the system had offered and I accepted an update to R version 4.0.0 (2020-04-24) and I had opened permissions in the folder. The problem is gone now; installation went smoothly which I can test out in the next week.