uploadNewNCP.Rd
The function uploadNewNCP
is really a remote version
of saveNewNCP()
, invoking that function on an opencpu server.
This is typically done for the two NCPs participating in a
computation with the list of sites. Note that sites are always
a list of at least a unique name element (distinguishing the
site from others) and a url element.
uploadNewNCP(defn, url = NULL, worker = NULL, sites)
defn | a definition for the NCP |
---|---|
url | the url for the NCP. Only one of url and worker can be non-null |
worker | the worker for the NCP if local. Only one of url and worker can be non-null |
sites | a list of lists, each containing two items, a unique
|
TRUE if everything goes well