Error Rtools is required despite having already installed

118 Views Asked by At

I'm trying to install the packages 'ggplot', 'psych' and 'moments', but the console keep saying that I need to install Rtools even though I have already installed in my Windows.

I tried the following:

install.packages("ggplot2")
install.packages("psych")
install.packages("moments")

But I get 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/soyso/AppData/Local/R/win-library/4.3’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/moments_0.14.1.zip'

But I have already installed, deleted and re-installed RTools on my device.

0

There are 0 best solutions below