CloudSave

CloudSave[symbol]

saves definitions associated with the specified symbol to a new anonymous cloud object.

CloudSave["form"]

saves definitions associated with all symbols whose names match the string pattern "form".

CloudSave["context"]

saves definitions associated with all symbols in the specified context.

CloudSave[{object1,object2,}]

saves definitions associated with several objects.

CloudSave[symspec,"uri"]

appends definitions associated with symspec to the cloud object at the given URI.

CloudSave[symspec,CloudObject["uri"]]

appends definitions to the given cloud object.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Define a function:

Save the function in the cloud:

Remove the function definition:

The function is undefined:

Restore the function definition from the cloud:

The function is once again defined:

Scope  (4)

CloudSave saves subsidiary definitions. Define a function f that depends on g:

Save f in the cloud:

Remove the definitions of f and g:

Restore the function definitions from the cloud:

g is defined, as well as f:

Define a function:

Save the function in the cloud specified by a string:

Define a function:

Save the function in the cloud specified by a CloudObject:

Define a function:

Save the function in the cloud specified by a URL:

Introduced in 2014
 (10.0)
 |
Updated in 2016
 (11.0)
2019
 (12.0)