What can I do?
Error:
install.packages("ggplot2")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
Warning in install.packages :
downloaded length 57344 != reported length 4129856
Warning in install.packages :
error 1 in extracting from zip file
Warning in install.packages :
cannot open compressed file 'colorspace/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection
I tried with Rtools too:
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:
RTools: Toolchains for building R and R packages from source on Windows
Installing package into ‘C:/Users/Usuario/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
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