UnregisterExternalEvaluator
Listing of External Evaluators »UnregisterExternalEvaluator[sys,evaluator]
unregisters the external evaluator referenced by evaluator for system sys so that it is not used by ExternalEvaluate and related functions.
Details
- UnregisterExternalEvaluator[sys,evaluator] effectively blocks the external evaluator referenced by evaluator from being used by ExternalEvaluate.
- evaluator is typically an executable file that can be used to execute code for the system sys, but can also be specified as File[…] or DatabaseReference[…].
- In UnregisterExternalEvaluator[sys,…], possible choices of sys include:
-
"Python" Python "NodeJS" JavaScript running through Node.js "Julia" Julia "Ruby" Ruby "R" R "Shell" Bash, Sh, Zsh, ... "Jupyter" Jupyter kernel "SQL" SQL database "SQL-JDBC" SQL database using JDBC
Examples
open allclose allBasic Examples (2)
Remove an evaluator so that ExternalEvaluate cannot find it:
Register the evaluator so it can be used:
Unregistering an evaluator does not prevent explicit usage:
Register it again with RegisterExternalEvaluator to restore the previous condition:
Scope (2)
Get all installations and randomly choose one to be the preferred installation:
Unregister all installations except the preferred one:
Now all of the installations except the preferred are unregistered for use:
Define a reference to a database using SQLite:
Register the database using RegisterExternalEvaluator:
When using ExternalEvaluate, "SQL" will use the most recently registered database:
Text
Wolfram Research (2017), UnregisterExternalEvaluator, Wolfram Language function, https://reference.wolfram.com/language/ref/UnregisterExternalEvaluator.html (updated 2020).
CMS
Wolfram Language. 2017. "UnregisterExternalEvaluator." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/UnregisterExternalEvaluator.html.
APA
Wolfram Language. (2017). UnregisterExternalEvaluator. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UnregisterExternalEvaluator.html