Rtools is required to build R packages but is not currently installed

slp picture slp · Nov 24, 2019 · Viewed 19.7k times · Source

I am relatively new to R/RStudio. I was successfully able to install packages until today. Each time I try to install a package, I receive the following error:

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/my. Name/Documents/R/win-library/3.6’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/openintro_1.7.1.zip' Content type 'application/zip' length 3136068 bytes (3.0 MB) downloaded 3.0 MB

Rtools is already installed on my machine, so I'm not sure why it's not being recognized.

I have tried un-installing and re-installing rtools but can't seem to resolve the issue. Any insight here would be greatly appreciated!

Answer

d3hero23 picture d3hero23 · Jul 15, 2021

Install R tools through Installr package... I believe it has a install r tools function