I've been using R for years using the basic interface and decided to try Rstudio. Also updated R from 4.0 to 4.2 Went to install packages in Rstudio and got the message "WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:"
It didn't give any clue how to do that.
I tried from the command line:
install.Rtools(check = TRUE, check_r_update = TRUE)
Error in install.Rtools(check = TRUE, check_r_update = TRUE) :
could not find function "install.Rtools"
so how do I do it? tia.