install.packages("package_name")
package name should be in quotes (single or double)
For Example:
#Install ggplot2 package
install.packages("ggplot2")
#Install tidyr package
install.packages("tidyr")
library(package_name)
command#Load ggplot2 package
library(ggplot2)
#Load tidyr package
library(tidyr)
Files, Plots, Packages, Help, Viewer
Pane which is at Bottom Right in RstudioPackages
Install
For Example:
leaflet
NHANES
Files, Plots, Packages, Help, Viewer
Pane which is at Bottom Right in RstudioPackages
For Example:
leaflet
NHANES