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:

Introduced in 2020
 (12.1)