InsertResults

InsertResults

is an option for NotebookEvaluate that determines whether to place the results of evaluation in the notebook being evaluated.

Details

  • With the setting InsertResults->True, all results of evaluation, including outputs, error messages, and the results of Print and related functions, are inserted into the notebook being evaluated by NotebookEvaluate.
  • With the setting InsertResults->False, the output cells that would normally be generated in the notebook are completely suppressed. Error messages and the results of Print and related functions are relayed as output corresponding to the input cell that initially invoked the NotebookEvaluate function.

Examples

Basic Examples  (1)

Insert results in the target notebook:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2023_insertresults, author="Wolfram Research", title="{InsertResults}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/InsertResults.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_insertresults, organization={Wolfram Research}, title={InsertResults}, year={2010}, url={https://reference.wolfram.com/language/ref/InsertResults.html}, note=[Accessed: 19-March-2024 ]}