getting below error even after installing latest r studio as well as latest r tool file. please suggest

getting below error even after installing latest r studio as well as latest r tool file. please suggest

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/deoka/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/tidyr_1.0.2.zip'
Content type 'application/zip' length 1478776 bytes (1.4 MB)
downloaded 1.4 MB

Have you set your PATH variable as described on the official instructions?

writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"', con = "~/.Renviron")

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

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