vs_Call {asreml}R Documentation

An overload (of sorts) of the base R function .Call

Description

An overload (of sorts) of the base R function .Call

Usage

vs_Call(
  .NAME,
  ...,
  CORE_VERSION = NULL,
  RETURN_CORE_VERSION = TRUE,
  ERROR_CALL_TEXT = NULL
)

Arguments

.NAME

As per .Call (as are all other arguments except CORE_VERSION, RETURN_CORE_VERSION and ERROR_CALL_TEXT).

...

Additional arguments passed to the function being called.

CORE_VERSION

The ID of the core version of asreml that is required. This defines the DLL that is used.

RETURN_CORE_VERSION

If TRUE then an attempt is made to return the core version used as part of the results. This is set to FALSE if the returned object is not a list (default = TRUE).

ERROR_CALL_TEXT

The "call" information reported in warnings and error messages. If NULL then a default of the call from the parent of vs_Call is used (*i.e.*, the call information of the function that called vs_Call).

Value

The results of invoking .Call using the supplied arguments, with .NAME being taken from the DLL associated with CORE_VERSION (see vs_get_core_availability_info() for how the DLL name is obtained).

If the RETURN_CORE_VERSION is TRUE then an additional entry, code_version, is appended to the end of the returned list which holds the ID of the core used.


[Package asreml version 4.2.0.480 Index]