Learn R Programming

raptr (version 1.0.1)

is.GurobiInstalled: Test if Gurobi is installed

Description

This function determines if the Gurobi R package is installed on the computer and that it can be used base::options().

Usage

is.GurobiInstalled(verbose = TRUE)

Value

logical Is it installed and ready to use?

Arguments

verbose

logical should messages be printed?

See Also

Examples

Run this code
if (FALSE) {
# check if Gurobi is installed
is.GurobiInstalled()

# print cached status of installation
options()$GurobiInstalled
}

Run the code above in your browser using DataLab