saveNewComputation {distcomp} | R Documentation |
Save a computation instance, given the computation definition, associated data and possibly a data file name to use
Description
The function saveNewComputation
uses the computation definition to save
a new computation instance. This is typically done for every site that wants to participate
in a computation with its own local data. The function examines the computation definition
and uses the identifier therein to uniquely refer to the computation instance at the site.
This function is invoked (maybe remotely) on the opencpu server by
uploadNewComputation()
when a worker site is being set up
Usage
saveNewComputation(defn, data, dataFileName = NULL)
Arguments
defn |
an already defined computation |
data |
the (local) data to use |
dataFileName |
a file name to use for saving the data. Typically |
Value
TRUE if everything goes well