Learn R Programming

nat (version 1.8.24)

cmtk.version: Return cmtk version or test for presence of at least a specific version

Description

Return cmtk version or test for presence of at least a specific version

Usage

cmtk.version(minimum = NULL)

Value

returns numeric_version representation of CMTK version or if minimum is not NULL, returns a logical indicating whether the installed version exceeds the current version. If CMTK is not installed returns NA.

Arguments

minimum

If specified checks that the cmtk version

Details

NB this function has the side effect of setting an option nat.cmtk.version the first time that it is run in the current R session.

See Also

cmtk.bindir, cmtk.dof2mat

Examples

Run this code
if (FALSE) {
cmtk.version()
cmtk.version('3.2.2')
}

Run the code above in your browser using DataLab