# NOT RUN {
pkgs <- list("ggplot2", "lme4")
loadPackages(pkgs) # loads packages if installed
loadPackages(pkgs, install = TRUE) # loads packages after installation (if needed)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab