Rcmdr was succefully installed and unpacked but when I go to packages and select it [or library(Rcmdr)] the program fails to load a file called 'xfun'. I can't find anything about it so I was wondering if the Rstudio Community could help me answer it. Thank you all for your time. Below is the code I tried:
install.packages("Rcmdr", dependencies=TRUE)
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/socce/OneDrive/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/Rcmdr_2.7-0.zip'
Content type 'application/zip' length 4455484 bytes (4.2 MB)
downloaded 4.2 MB
package ‘Rcmdr’ successfully unpacked and MD5 sums checked
library(Rcmdr)
Loading required package: splines
Loading required package: RcmdrMisc
Loading required package: sandwich
Error: package or namespace load failed for ‘RcmdrMisc’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘xfun’
Error: package ‘RcmdrMisc’ could not be loaded