CloudEvaluate
✖
CloudEvaluate
Details and Options

- CloudEvaluate has attribute HoldFirst.
- CloudEvaluate[expr] automatically includes all definitions needed to evaluate expr, much like CloudSave.
- CloudEvaluate has the following option:
-
CloudBase Automatic what cloud to do the evaluation in IncludeDefinitions True whether to automatically include dependencies - With IncludeDefinitionsTrue, definitions required for the evaluation of expr will automatically be sent to the cloud through CloudEvaluate.
- With IncludeDefinitions->False, definitions required for the evaluation of expr must be loaded and evaluated explicitly during the evaluation of expr.
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Search for Mersenne primes in the cloud:

https://wolfram.com/xid/0b0kh1m430k-e6v2oq

Evaluate machine-specific settings in the cloud:

https://wolfram.com/xid/0b0kh1m430k-dfggpf


https://wolfram.com/xid/0b0kh1m430k-ciz4q0

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

https://wolfram.com/xid/0b0kh1m430k-m4jaft

Scope (1)Survey of the scope of standard use cases
Create a 3D contour plot in the cloud:

https://wolfram.com/xid/0b0kh1m430k-bqu8fs

Use the cloud to identify the content of an image:

https://wolfram.com/xid/0b0kh1m430k-jrolyl

Use the cloud to do image analysis:

https://wolfram.com/xid/0b0kh1m430k-kqj0lk

Generalizations & Extensions (1)Generalized and extended use cases
Options (2)Common values & functionality for each option
CloudBase (1)
Evaluate on a specific cloud without changing $CloudBase:

https://wolfram.com/xid/0b0kh1m430k-fq22nh

IncludeDefinitions (1)

https://wolfram.com/xid/0b0kh1m430k-j5yczs

Properties & Relations (3)Properties of the function, and connections to other functions
CloudEvaluate shows any messages raised during the evaluation:

https://wolfram.com/xid/0b0kh1m430k-bzww53


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

https://wolfram.com/xid/0b0kh1m430k-uh2e5s
In a cloud evaluation, $CloudEvaluation is set to True:

https://wolfram.com/xid/0b0kh1m430k-v43157

Individual cloud evaluations typically run in separate processes:

https://wolfram.com/xid/0b0kh1m430k-dnw2ph

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

https://wolfram.com/xid/0b0kh1m430k-efevh

Possible Issues (1)Common pitfalls and unexpected behavior
The result of the cloud evaluation is subject to evaluation in the local session. Multiple evaluations can result in multiple messages:

https://wolfram.com/xid/0b0kh1m430k-zq32ie



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

https://wolfram.com/xid/0b0kh1m430k-o7h2wu


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).
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.
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
Wolfram Language. (2014). CloudEvaluate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CloudEvaluate.html
BibTeX
@misc{reference.wolfram_2025_cloudevaluate, author="Wolfram Research", title="{CloudEvaluate}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/CloudEvaluate.html}", note=[Accessed: 07-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_cloudevaluate, organization={Wolfram Research}, title={CloudEvaluate}, year={2019}, url={https://reference.wolfram.com/language/ref/CloudEvaluate.html}, note=[Accessed: 07-May-2025
]}