PacletDirectoryLoad
✖
PacletDirectoryLoad
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)Summary of the most common use cases
The ExampleData/SamplePaclet directory contains a sample paclet:
In[1]:=1

✖
https://wolfram.com/xid/0do60kwt7168mkea6-uvqdm0
Out[1]=1

Make it available in the current session:
In[2]:=2

✖
https://wolfram.com/xid/0do60kwt7168mkea6-n1eczc
PacletFind can find it now:
In[3]:=3

✖
https://wolfram.com/xid/0do60kwt7168mkea6-2mmmf
Out[3]=3

You can use its functionality:
In[4]:=4

✖
https://wolfram.com/xid/0do60kwt7168mkea6-9h8nzm
Out[4]=4

Wolfram Research (2020), PacletDirectoryLoad, Wolfram Language function, https://reference.wolfram.com/language/ref/PacletDirectoryLoad.html.
✖
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.
✖
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.
✖
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
✖
Wolfram Language. (2020). PacletDirectoryLoad. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PacletDirectoryLoad.html
BibTeX
✖
@misc{reference.wolfram_2025_pacletdirectoryload, author="Wolfram Research", title="{PacletDirectoryLoad}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/PacletDirectoryLoad.html}", note=[Accessed: 01-May-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_pacletdirectoryload, organization={Wolfram Research}, title={PacletDirectoryLoad}, year={2020}, url={https://reference.wolfram.com/language/ref/PacletDirectoryLoad.html}, note=[Accessed: 01-May-2025
]}