saveNewNCP {distcomp} | R Documentation |
Save an NCP instance, given the sites as associated data and possibly a data file name to use
Description
The function saveNewNCP
uses the list of sites
definition to save a new NCP instance. This is
typically done for every pair of NCPs used in a computation. 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
saveNewNCP(defn, comp_defn, data, dataFileName = NULL)
Arguments
defn |
a definition of the ncp |
comp_defn |
the computation definition |
data |
the list of sites with name and url to use |
dataFileName |
a file name to use for saving the
data. Typically |
Value
TRUE if everything goes well