Load.Install: Load or Install/Load Packages

View source: R/other_functions.R

Load.InstallR Documentation

Load or Install/Load Packages

Description

This function either loads or installs/loads the specified packages.

Usage

Load.Install(Package.Names, Quiet = FALSE, Update.All = FALSE)

Arguments

Package.Names

A vector of strings. The package names to be installed/loaded.

Quiet

logical. If TRUE, suppress the output.

Update.All

logical. If TRUE, updates the specified packages.

Details

Packages from GitHub can also be installed/loaded.

Value

Install and/or loads the specified packages.

Author(s)

Omer Kara

Examples

## Not run: 
Load.Install(Package.Names = "plyr")
Load.Install(Package.Names = c("plyr", "dplyr"))
Load.Install(c("plyr", "dplyr", "tidyr", "stringr", "stringi", "Hmisc"))
Load.Install(c("plyr", "dplyr"), Quiet = TRUE, Update.All = TRUE)

Load.Install("FinYang/tsdl")

## End(Not run)


omerkara/okara documentation built on Nov. 21, 2023, 7:56 p.m.