Whenever I try to load the genefilter package using
library(genefilter)
I get
Error: package or namespace load failed for ‘genefilter’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘XML’
The XML package requires R >= 4.0.0 so you need to update your R version to be able to install it. You are using a very old R version so it would be a good thing to do anyway.
> install.packages("genefilter")
WARNING: Rtools is required to build R packages but no version of Rtools compatible with the currently running version of R was found. Note that the following incompatible version(s) of Rtools were found:
- Rtools 3.5 (installed at C:\Users\anike\R-3.6.3\Rtools)
Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Warning in install.packages :
package ‘genefilter’ is not available (for R version 4.0.2)
and when I go to install Rtools
> install.packages("Rtools")
WARNING: Rtools is required to build R packages but no version of Rtools compatible with the currently running version of R was found. Note that the following incompatible version(s) of Rtools were found:
- Rtools 3.5 (installed at C:\Users\anike\R-3.6.3\Rtools)
Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Warning in install.packages :
package ‘Rtools’ is not available (for R version 4.0.2)
Rtools is not an R package, it is a separate software that you need to install in your system, for R 4.0.2 you need to install RTools40, you can download it from here https://cran.r-project.org/bin/windows/Rtools/