How to deal with install.packages( ) warning "package ‘Rtools’ is not available for this version of R"? [duplicate]
Asked Answered
C

1

7

When trying to install Rtools , I get the message below. My R version is 4.1.2.

install.packages("Rtools") 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/ Warning in install.packages : package ‘Rtools’ is not available for this version of R

A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

Any ideas how to install Rtools?

Calendre answered 6/6, 2023 at 13:41 Comment(1)
Does this answer your question? Rtools is required to build R packages but is not currently installedFinisterre
C
10

What you need to do is the following:

  1. Go to: https://cran.r-project.org/bin/windows/Rtools/

You will see something like this: enter image description here

  1. Select the version of Rtools you want to download.

  2. Execute the downloaded .exe file and use the defaults, including the default installation location of C:\rtools43

That should resolve the problem!

Hope this helps!

Credential answered 17/7, 2023 at 16:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.