ResourceRegister

ResourceRegister[resource]

creates a persistent cache of a resource object that can be referenced by name.

ResourceRegister[resource, loc]

stores the resource in persistence location loc.

ResourceRegister[resource, {loc1,}]

stores the resource in multiple persistence locations.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Create a data resource:

In[1]:=
Click for copyable input
Out[1]=

Register the resource:

In[2]:=
Click for copyable input
Out[2]=

Retrieve the data by using the resource name in ResourceData:

In[3]:=
Click for copyable input
Out[3]//Short=

Scope  (2)

Properties & Relations  (1)

Possible Issues  (1)

See Also

ResourceObject  ResourceData  ResourceRemove  ResourceSearch  $CloudBase  $LocalBase  LocalCache  PersistentValue  $PersistenceBase

Introduced in 2017
(11.2)