libraries: Compiles and installs all libraries in the current RStudio...

Description Usage Value Examples

View source: R/libraries.R

Description

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

Usage

1

Value

libraries compiled

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# 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]

shortcuts documentation built on Dec. 18, 2019, 1:49 a.m.