xlcCall {XLConnect} | R Documentation |
Performs automatic argument vectorization, provides default Java exception and warnings handling for XLConnect.
xlcCall(obj, fun, ..., SIMPLIFY = TRUE)
obj |
XLConnect S4 object (e.g |
fun |
Name of function to be called. |
... |
Arguments to the function to be called. These arguments will be automatically vectorized using |
SIMPLIFY |
Argument to |
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. Further, any warnings are retrieved from the Java side and are logged
via R's standard warning mechanism.
Result of the specified function by calling it with the vectorized argument list.
Martin Studer
Mirai Solutions GmbH http://www.mirai-solutions.com