load packages from a char separated by space or commas

ll(char, print = FALSE, ...)

Arguments

char

character with package named

print

if TRUE, will return a string that can be pasted in the console

...

additional parameters

Examples

sto::ll("rvest stringr dplyr")
#> [[1]]
#>  [1] "sto"       "dplyr"     "stringr"   "rvest"     "magrittr"  "nvimcom"  
#>  [7] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "colorout" 
#> [13] "methods"   "base"     
#> 
#> [[2]]
#>  [1] "sto"       "dplyr"     "stringr"   "rvest"     "magrittr"  "nvimcom"  
#>  [7] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "colorout" 
#> [13] "methods"   "base"     
#> 
#> [[3]]
#>  [1] "sto"       "dplyr"     "stringr"   "rvest"     "magrittr"  "nvimcom"  
#>  [7] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "colorout" 
#> [13] "methods"   "base"     
#> 
sto::ll("rvest stringr dplyr", print=TRUE)
#> library(rvest)
#> library(stringr)
#> library(dplyr)