PacletEnable

PacletEnable[paclet]

enables a previously disabled paclet.

Details

  • Paclets can be specified in any of the following ways:
  • "name"name of an installed paclet
    "name""version"a specific version of an installed paclet
    PacletObject[]a reference to an installed paclet
  • PacletEnable returns a list of the PacletObject expressions corresponding to the newly enabled paclets, which will be an empty list if the paclet was already enabled or does not exist.
  • PacletEnable undoes the operation of PacletDisable.
  • When a previously disabled paclet is enabled, its resources are immediately available to the Wolfram System.
  • An enabled paclet remains enabled in future sessions.
  • Installed paclets are enabled by default.
  • You can use PacletObject[]["Enabled"] to see the enabled state of a paclet, and PacletFind[<|"Enabled"False|>] to find all disabled paclets.

Examples

Basic Examples  (2)

Acquire ExamplePaclet from the Wolfram paclet server, if it is not already installed:

It is enabled by default:

It exports the context "ExamplePaclet`", and that context can be found by the system:

Disable the paclet:

Its resources can no longer be seen by the system:

Enable the paclet:

Its files can again be found:

Uninstall the paclet:

Find all disabled paclets on the system:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_pacletenable, organization={Wolfram Research}, title={PacletEnable}, year={2020}, url={https://reference.wolfram.com/language/ref/PacletEnable.html}, note=[Accessed: 21-November-2024 ]}