Hello, I have some problems with ggplot2 package installation, I had tried installing package rlang and update Rstudio, but any of those solutions works for me. Somebody can another solution for this issue. help, I`m begginer level amateur, Thanks
install.packages("ggplot2")
Installing package into ‘C:/Users/USUARIO/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘isoband’, ‘rlang’
There are binary versions available but the source versions are later:
binary source needs_compilation
rlang 0.2.0 0.4.5 TRUE
ggplot2 2.2.1 3.3.0 FALSE
Binaries will be installed
Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘isoband’
These will not be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/rlang_0.2.0.zip'
Content type 'application/zip' length 754726 bytes (737 KB)
downloaded 737 KB
package ‘rlang’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\USUARIO\AppData\Local\Temp\Rtmpao8iaX\downloaded_packages
installing the source package ‘ggplot2’
trying URL 'https://cran.rstudio.com/src/contrib/ggplot2_3.3.0.tar.gz'
Content type 'application/x-gzip' length 3031461 bytes (2.9 MB)
downloaded 2.9 MB
ERROR: dependency 'isoband' is not available for package 'ggplot2'
* removing 'C:/Users/USUARIO/Documents/R/win-library/3.3/ggplot2'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\USUARIO\Documents\R\win-library\3.3" C:\Users\USUARIO\AppData\Local\Temp\Rtmpao8iaX/downloaded_packages/ggplot2_3.3.0.tar.gz' had status 1
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\USUARIO\AppData\Local\Temp\Rtmpao8iaX\downloaded_packages’