Learn R Programming

transport (version 0.12-1)

ret_message: Return Text Strings for lbfgs Return Codes

Description

Given a vector of return codes, give back the corresponding vector of return strings from the lbfgs library. Nonexistant codes are ignored.

Usage

ret_message(n = NULL)

Arguments

n

The vector of return codes or NULL meaning the whole list shall be returned.

Value

A named character vector of the corresponding return strings.

See Also

semidiscrete1.

Examples

Run this code
# NOT RUN {
ret_message()
ret_message(c(2,-1023,-1019))

# }

Run the code above in your browser using DataLab