inst.if: Install and load packages if necessary

Description Usage Arguments Examples

View source: R/inst.if.R

Description

This function checks to see if a package is installed yet If not, it installs it. Either way, once installed, it loads the library.

Usage

1
inst.if(pkgname)

Arguments

pkgname

The name of the desired package as a string

Examples

1
inst.if("Matrix")

lcomm/ltools documentation built on May 20, 2019, 11:28 p.m.