I am both curious if and hoping to find anyone here knows anything about the statistics program “R”; I removed a package from my version or the program - Rcmdr - thinking it was “misbehaving” and thought I might reinstall it again, and going to reinstall this package I get the following, and I wondered if those knowing R or the general VanLUG community could help me figure out what it is telling me in these following words - I tried installing as well from the downloaded source-packages but they also would not install:
install.packages()
--- Please select a CRAN mirror for use in this session ---
Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
[tcl] grab failed: window not viewable.
> install.packages('Rcmdr')
Installing package into ‘/home/richard/R/x86_64-redhat-linux-gnu-library/4.5’
(as ‘lib’ is unspecified)
also installing the dependency ‘RcmdrMisc’
trying URL 'https://muug.ca/mirror/cran/src/contrib/RcmdrMisc_2.9-2.tar.gz'
trying URL 'https://muug.ca/mirror/cran/src/contrib/Rcmdr_2.9-5.tar.gz'
* installing *source* package ‘RcmdrMisc’ ...
** this is package ‘RcmdrMisc’ version ‘2.9-2’
** package ‘RcmdrMisc’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/richard/R/x86_64-redhat-linux-gnu-library/4.5/stringi/libs/stringi.so':
libicuuc.so.76: cannot open shared object file: No such file or directory
Calls: <Anonymous> ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘RcmdrMisc’
* removing ‘/home/richard/R/x86_64-redhat-linux-gnu-library/4.5/RcmdrMisc’
ERROR: dependency ‘RcmdrMisc’ is not available for package ‘Rcmdr’
Perhaps try a variation of:
install.packages('RcmdrMisc')
* removing ‘/home/richard/R/x86_64-redhat-linux-gnu-library/4.5/Rcmdr’
The downloaded source packages are in
‘/tmp/RtmpFofLlk/downloaded_packages’
Warning messages:
1: In install.packages("Rcmdr") :
installation of package ‘RcmdrMisc’ had non-zero exit status
2: In install.packages("Rcmdr") :
installation of package ‘Rcmdr’ had non-zero exit status
install.packages('RcmdrMisc')
Installing package into ‘/home/richard/R/x86_64-redhat-linux-gnu-library/4.5’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://mirror.csclub.uwaterloo.ca/CRAN/src/contrib/RcmdrMisc_2.9-2.tar.gz'
Content type 'text/plain' length 38409 bytes (37 KB)
==================================================
downloaded 37 KB
* installing *source* package ‘RcmdrMisc’ ...
** this is package ‘RcmdrMisc’ version ‘2.9-2’
** package ‘RcmdrMisc’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/richard/R/x86_64-redhat-linux-gnu-library/4.5/stringi/libs/stringi.so':
libicuuc.so.76: cannot open shared object file: No such file or directory
Calls: <Anonymous> ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘RcmdrMisc’
* removing ‘/home/richard/R/x86_64-redhat-linux-gnu-library/4.5/RcmdrMisc’
The downloaded source packages are in
‘/tmp/RtmpCMa2Kk/downloaded_packages’
Warning message:
In install.packages("RcmdrMisc") :
installation of package ‘RcmdrMisc’ had non-zero exit status
Okay, the icu or libicu package may need to be updated first, so after this step, reboot and attempt to execute either of the aforementioned commands to see if this particular line still exists or not.
$ sudo dnf update libicu
[sudo] password for richard:
Updating and loading repositories:
Repositories loaded.
Nothing to do.
$ sudo dnf update icu
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Packages for argument 'icu' available, but not installed.
within R I called “remove.packages(“Rcmdr”)” obviously without the quotes around the entire command, and perhaps “uninstall…” would have made the reinstall incredibly easier, but my only thought was that it didn’t seem to be working properly, and being “seemed to” I should have left it.