EvaluationEnvironment

EvaluationEnvironment

is an option for functions such as InitializationValue and InitializationObjects that specifies the environment in which an initialization is intended to be used.

Details

  • Typical values for EvaluationEnvironment include:
  • "Session"local or cloud interactive session
    "Script"script run in batch mode
    "Subkernel"parallel or grid subkernel
    "WebEvaluation"cloud evaluation initiated by an HTTP request
    "WebAPI"API called through an HTTP request
    "Scheduled"scheduled task
  • The default setting is EvaluationEnvironment:>$EvaluationEnvironment.

Examples

Basic Examples  (1)

Set an initialization value for parallel subkernels:

All newly launched parallel subkernels use the given value:

Wolfram Research (2017), EvaluationEnvironment, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluationEnvironment.html.

Text

Wolfram Research (2017), EvaluationEnvironment, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluationEnvironment.html.

CMS

Wolfram Language. 2017. "EvaluationEnvironment." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EvaluationEnvironment.html.

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_evaluationenvironment, organization={Wolfram Research}, title={EvaluationEnvironment}, year={2017}, url={https://reference.wolfram.com/language/ref/EvaluationEnvironment.html}, note=[Accessed: 22-November-2024 ]}