gives the default list of locations at which to look for resource objects.
- The elements of $ResourceSystemPath include:
URL[…] URL of a resource system as in $ResourceSystemBase PersistenceLocation["type"] location of deployed resources
- By default, $ResourceSystemPath includes the following elements in the given order without duplicates:
$PersistencePath list of persistence locations $ResourceSystemBase the current resource system base URL the Wolfram Resource System PersistenceLocation["Cloud"] Wolfram Cloud persistence location (when cloud connected)
- $ResourceSystemPath provides the default value of the ResourceSystemPath option for ResourceObject["name"], ResourceFunction["name"] and ResourceSearch.
- The elements of $ResourceSystemPath are used in order. When used within ResourceObject, the first resource found along the path is returned.
Examplesopen allclose all
Define a ResourceFunction in the kernel session:
The function is automatically registered in the kernel sessions and discoverable by name with the default $ResourceSystemPath:
Add the "KernelSession" PersistenceLocation: