usePackage: Package installing and loading function

Description Usage Arguments Examples

Description

The usePackage function takes a single command, the name of a package, and will install it, if not already installed, and then load it.

Usage

1

Arguments

p

A package name as a string in quotes.

Examples

1
usePackage("readr")

AFMSAnalytics/usefulScripts documentation built on May 7, 2019, 3:11 p.m.