I'm trying to install factoextra. I'm running R v.4.0.3. I have used
> install.packages("devtools")
> library("devtools")
> install_github("kassambara/factoextra")
It then asks if I wish to update the packages:
WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/.
Downloading GitHub repo kassambara/factoextra@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?
1: All
2: CRAN packages only
3: None
4: rlang (0.4.8 -> 0.4.9) [CRAN]
So I selected 1, to update all packages and it returns with:
package ‘rlang’ successfully unpacked and MD5 sums checked
Error: Failed to install 'factoextra' from GitHub:
(converted from warning) cannot remove prior installation of package ‘rlang’
I have very little experience with R and I really don't know what to do. I need factoextra so I can run an fviz_pca command.
Thanks for any help you can give