CloudEvaluate

CloudEvaluate[expr]

evaluates expr in the cloud and returns the result.

CloudEvaluate[expr,h]

wraps the head h around the result before returning it.

Details and Options

Examples

open allclose all

Basic Examples  (3)

Search for Mersenne primes in the cloud:

Evaluate machine-specific settings in the cloud:

Compare to the local result:

Supply a head to be applied to the results of a cloud evaluation:

Scope  (1)

Create a 3D contour plot in the cloud:

Use the cloud to identify the content of an image:

Use the cloud to do image analysis:

Generalizations & Extensions  (1)

Compare held and unheld cloud evaluations of a local variable (note the automatic cloud definition of g has been cleared):

Options  (2)

CloudBase  (1)

Evaluate on a specific cloud without changing $CloudBase:

IncludeDefinitions  (1)

Properties & Relations  (3)

CloudEvaluate shows any messages raised during the evaluation:

However, any other notebook manipulations, such as printed output, are not reproduced:

In a cloud evaluation, $CloudEvaluation is set to True:

Individual cloud evaluations typically run in separate processes:

Using CloudEvaluate during a cloud evaluation always runs in the same process:

Possible Issues  (1)

The result of the cloud evaluation is subject to evaluation in the local session. Multiple evaluations can result in multiple messages:

Apply the head Hold to prevent the second, local evaluation:

Wolfram Research (2014), CloudEvaluate, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudEvaluate.html (updated 2019).

Text

Wolfram Research (2014), CloudEvaluate, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudEvaluate.html (updated 2019).

CMS

Wolfram Language. 2014. "CloudEvaluate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/CloudEvaluate.html.

APA

Wolfram Language. (2014). CloudEvaluate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CloudEvaluate.html

BibTeX

@misc{reference.wolfram_2024_cloudevaluate, author="Wolfram Research", title="{CloudEvaluate}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/CloudEvaluate.html}", note=[Accessed: 25-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_cloudevaluate, organization={Wolfram Research}, title={CloudEvaluate}, year={2019}, url={https://reference.wolfram.com/language/ref/CloudEvaluate.html}, note=[Accessed: 25-November-2024 ]}