R: Given the id of a serialized object, invoke a method on the...

executeMethod {distcomp} | R Documentation

## Given the id of a serialized object, invoke a method on the object with arguments

### Description

The function `executeMethod` is really the heart of distcomp. It executes an arbitrary method on an object that has been serialized to the distcomp workspace with any specified arguments. The result, which is dependent on the computation that is executed, is returned. If the object needs to save state between iterations on it, it is automatically serialized back for the ensuing iterations

### Usage

    executeMethod(objectId, method, ...)

### Arguments

`objectId` | the (instance) identifier of the object on which to invoke a method
`method` | the name of the method to invoke
`...` | further arguments as appropriate for the method

### Value

a result that depends on the computation being executed

[Package distcomp version 1.1 Index]