Do I need to download Rtools to run RStudio properly?

, ,

Screen Link:

I am getting WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding: package into ‘C:/Users/Owner/Documents/R/win-library/4.0’
The error goes on and tells me to install a bunch of dependencies. The module never said to download Rtools, so I am not sure why this is happening! Please help!

Here’s the code I used: install.packages("tidyverse")

Do I need to download Rtools? If so, why wasn’t this mentioned in the module? I can’t move forward until I get Rstudio working properly!

Hi @vaishali. Is RStudio installed locally, or in a network drive? This issue is discussed in this RStudio Community post. Also, this post may be helpful.

I’m not sure what is causing this error, I was able to install tidyverse without issue after upgrading to R 4.0, so I am unable to reproduce this.

Which dependencies? tidyverse has many. Did this warning actually prevent the install of tidyverse or are you able to load tidyverse into memory with library(tidyverse)?


Hello @vaishali,

Thank you for raising this warning.

This is not a real error; it is a warning. It should not be a blocker for your progression.

This warning means that if you are going to install packages that need compilation, you also have to install Rtools in your system. Basically, for tidyverse and many other packages you don’t need to compile packages when installing them. However, it can happen that binaries are not available for your OS and R versions, and in that case, a compilation is needed.

This is not part of the guided project because this is an issue specific to only some systems, and at this step, it is not necessary to install packages that need compilation.

You can install RTools from here if needed though


1 Like