uploadNewNCP | R Documentation |
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, comp_defn, url = NULL, worker = NULL, sites)
defn |
a definition for the NCP |
comp_defn |
the computation definition |
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
saveNewNCP()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.