Store Data in a Cloud Expression
WORKFLOW
Store Data in a Cloud Expression
Create a cloud expression
Put the expression {1,2,3,4,5} in the cloud:
ce = CreateCloudExpression[Range[5]]- Cloud expressions reside in the Wolfram Cloud and persist from session to session.
Retrieve the cloud expression
Get the value of the cloud expression:
Get[ce]Add data to the cloud expression
Append a value to the cloud expression:
AppendTo[ce, 66]Get the updated cloud expression:
Get[ce]Change data in the cloud expression
Change the value of the third element in the cloud expression:
ce[[3]] = 33Get the updated cloud expression:
Get[ce]Delete data in the cloud expression
Delete the second element in the cloud expression:
ce[[2]]=.Get the updated cloud expression:
Get[ce]Compute with the cloud expression
Plot the values in the cloud expression:
ListPlot[Get[ce]]Notes
Cloud expression operations include Get, Put, Unset, Length and Increment. See the CloudExpression documentation for a complete list.
Give others access to a cloud expression by specifying Permissions->"Public":
Change the permissions of an existing cloud expression using SetPermissions. This cloud expression is accessible only by the owner:
ce = CreateCloudExpression[Range[5]]Options[ce]
Change the cloud expression’s permissions to give others access to it:
SetPermissions[ce, "Public"]Now anyone can read the cloud expression:
Options[ce]