getASRemlVersionLoaded {asremlPlus}R Documentation

Finds the version of asreml that is loaded and returns the initial characters in version.

Description

Checks that asreml is loaded and, if it is, returns the first nchar characters of the version that is loaded.

Usage

getASRemlVersionLoaded(nchar = NULL, notloaded.fault = FALSE)

Arguments

nchar

The number of characters in the asreml version to get.

notloaded.fault

A logical indicating whether a fault is to occur if asreml is not loaded.

Value

A character, being the first nchar characters of the version of asreml that is loaded.

Author(s)

Chris Brien

See Also

loadASRemlVersion.

Examples

## Not run: 
getASRemlVersionLoaded()
## End(Not run)

[Package asremlPlus version 4.2-32 Index]