Complete the code to install the package named "ggplot2".
install.packages([1])You need to put the package name as a string inside quotes when using install.packages().
Complete the code to install the package "dplyr" from CRAN repository.
install.packages([1])The package name must be a string in quotes when passed to install.packages().
Fix the error in the code to install the package "tidyr".
install.packages([1])The package name must be a string in quotes to avoid errors.
Fill both blanks to install the package "stringr" from the "https://cran.r-project.org" repository.
install.packages([1], repos = [2])
The package name and repository URL must both be strings in quotes.
Fill all three blanks to install the package "lubridate" quietly without messages.
install.packages([1], quiet = [2], dependencies = [3])
Use the package name as a string, set quiet = TRUE to suppress messages, and dependencies = FALSE to avoid installing dependencies.