Gallery.rpy Guide
install.packages("ggplot2") Now, let's create a simple gallery:
# Load necessary libraries library(ggplot2) library(gridExtra) gallery.rpy
# Create a first plot p1 <- ggplot(mtcars, aes(x = wt, y = mpg)) + geom_point() + labs(title = "Scatterplot of MPG vs. WT") install

