libraries
From shortcuts v1.3.0
by Josc3 Del Valle
Compiles and installs all libraries in the current RStudio script where the word library is written
Compiles and installs all libraries in the current RStudio script where the word library is written
Usage
libraries()
Value
libraries compiled
Examples
# NOT RUN {
# Copy and paste all the following code in RStudio
# }
# NOT RUN {
loaded_pkgs<-(.packages())
# }
# NOT RUN {
# library(ggplot2)
# library(dplyr)
# }
# NOT RUN {
libraries()
loaded_pkgs2<-(.packages())
loaded_pkgs2[!loaded_pkgs2 %in% loaded_pkgs]
# }
Community examples
Looks like there are no examples yet.