shortcuts (version 1.3.0)

libraries: Compiles and installs all libraries in the current RStudio script where the word library is written

Description

Compiles and installs all libraries in the current RStudio script where the word library is written

Usage

libraries()

Arguments

Value

libraries compiled

Examples

Run this code
# 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]


# }

Run the code above in your browser using DataLab