ever since I reinstalled my computer after some updates and tried to install FSelector and it failed, I am getting this error whenever I try to download or install a package:
> install.packages("FSelector")
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/myName/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/FSelector_0.34.zip'
Content type 'application/zip' length 96270 bytes (94 KB)
downloaded 94 KB
package ‘FSelector’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\myName\AppData\Local\Temp\Rtmp6rtkGH\downloaded_packages
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'which': argument "lst" is missing, with no default
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'which': argument "lst" is missing, with no default
install.packages("Rtools")You need to download and install from here: cran.r-project.org/bin/windows/Rtools