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


  • 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.


Basic Examples  (1)

Set an initialization value for parallel subkernels:

All newly launched parallel subkernels use the given value:

Introduced in 2017