What would be the easiest command / method for installing the following packages for R and RStudio : knitr (everything to support the .rmd), dplyr, ggplot2, partykit, ROCR, randomForest, shiny?
I am relatively new to coding and have never used R software. There are 15 laptops that I need to log into and install all the packages above on (they already have R and RStudio installed).
Looking for the easiest way to install all the packages in one go on each computer, be it using command prompt or R. Any advice / code would be much appreciated! The laptops are connected to the internet.