Download the IDE from the Posit Website . How to Download and Install ggplot2 from CRAN
Open R or RStudio and execute the standard installation function.
Once the CRAN download finishes, test the graphics engine with built-in data.
CRAN hosts stable, tested versions of R packages. Use the following methods to download and install ggplot2. Method 1: Using the R Console (Fastest)