Learn R Programming

formods (version 0.2.1)

is_installed: Determines if a Package is Installed

Description

Determines if the specified package is installed.

Usage

is_installed(pkgname)

Value

Logical indicating if the packages is installed or not

Arguments

pkgname

Name of package

Examples

Run this code
# This package should exist
is_installed('digest')

# This package should not exist
is_installed('bad package name')

Run the code above in your browser using DataLab