PacletDirectoryLoad

PacletDirectoryLoad[dir]

makes paclets in dir visible in the current session.

PacletDirectoryLoad[{dir1,dir2, }]

makes paclets in all the diri visible in the current session.

Details

  • The directories can be specified as strings or File expressions.
  • PacletDirectoryLoad returns the list of directories that have been added in the session.
  • PacletDirectoryLoad looks for paclets up to two levels deep in each directory.
  • Use PacletDirectoryLoad to allow paclets to be found in a nonstandard location.
  • PacletDirectoryLoad is intended primarily for use by paclet developers, to be able to load and run paclets directly from a development directory.
  • If a paclet in a directory specified by PacletDirectoryLoad has the same version number as a paclet installed elsewhere in the system, the one found via PacletDirectoryLoad will be used.
  • The effects of PacletDirectoryLoad only apply in the current session.

Examples

Basic Examples  (1)

The ExampleData/SamplePaclet directory contains a sample paclet:

Make it available in the current session:

PacletFind can find it now:

You can use its functionality:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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