Learn R Programming

IPDFileCheck (version 0.8.1)

check_load_packages: Function to check the package is installed, if not install

Description

Function to check the package is installed, if not install

Usage

check_load_packages(pkg)

Value

0, if packages cant be installed and loaded, else error

Arguments

pkg

name of package(s)

Examples

Run this code
check_load_packages("dplyr")

Run the code above in your browser using DataLab