# Load the ggplot2movies and ggplot2 libraries for data visualization. library(ggplot2movies) library(ggplot2) # Check if devtools package is installed, if not, install it. if (!requireNamespace("devtools", quietly = TRUE)) { install.packages("devtools") } # Install ggplotgui package from GitHub using devtools. devtools::install_github("gertstulp/ggplotgui") # Load the ggplotgui library for interactive ggplot creation. library(ggplotgui) # Launch the ggplot Shiny app with the 'movies' dataset. ggplotgui::ggplot_shiny(movies)