Learn R Programming

JBTools (version 0.7.2.9)

checkInstalled: Check whether a command can be invoked via the command line

Description

checkInstalled checks whether an external command can be run on the command line.

Usage

checkInstalled(commandName)

Arguments

commandName
character string: name of the program/command to check

Value

Details

The test is a simple wrapper around Sys.which which returns TRUE if which returns a character string and FALSE if not.