How to point R 4.2.1. to the rtools 4.2 instalation?

I've installed:

  • the R version 4.2.1;
  • the RStudio 2022.07.2+576 "Spotted Wakerobin" Release (e7373ef832b49b2a9b88162cfe7eac5f22c40b34, 2022-09-06) for Windows Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36;
  • the Rtools version 4.2

How can I point R to the rtools installation?

Hi @ramgouveia,
If you installed rtools42 to the default directory ("C:\rtools42" on Windows) then R should find it automatically when you try to install a package from source code.

rtools42 is not required when installing packages from pre-compiled binary files (that's why doing it that way is easier). The binary version of the latest iteration of any package will propagate through the CRAN mirrors over a period of several days.

1 Like

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.