libraries {shortcuts}R Documentation

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()

Value

libraries compiled

Examples


# Copy and paste all the following code in RStudio

loaded_pkgs<-(.packages())


# library(ggplot2)
# library(dplyr)

libraries()

loaded_pkgs2<-(.packages())


loaded_pkgs2[!loaded_pkgs2 %in% loaded_pkgs]



[Package shortcuts version 1.4.0 Index]