Learn R Programming

XLConnect (version 0.1-3)

xlcCall: Automatic argument vectorization & default Java exception handling for XLConnect

Description

Performs automatic argument vectorization and provides default Java exception handling for XLConnect.

Usage

xlcCall(fun, ..., SIMPLIFY = TRUE)

Arguments

fun
Function to be called.
...
Arguments to the function to be called. These arguments will be automatically vectorized using mapply.
SIMPLIFY
Argument to mapply. Attempt to reduce result of function call to a vector or matrix?

Value

  • Result of the specified function by calling it with the vectorized argument list.

Details

This function makes use of mapply to perform automatic argument vectorization. Non-atomic arguments are wrapped in a list using wrapList first. The list of the resulting arguments is then being vectorized using mapply before the specified function is being called. The function call is wrapped with jTryCatch to catch Java exceptions.

See Also

wrapList, jTryCatch