ResourceRemove Wolfram Data Repository »

ResourceRemove[resource]

removes the specified resource from the system on which it is run.

Details

  • ResourceRemove deletes both the locally stored content and metadata.
  • For user-created resources, ResourceRemove permanently deletes the resource. For resources hosted in the public repository, only the local cache is deleted.

Examples

Basic Examples  (2)

Create a new resource and import the contents:

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

Save the content locally:

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

Removing the resource deletes the local storage:

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=

Get the contents of a resource from the data repository:

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

The content is cached locally:

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

After removing the local cache, the content is still available in a CloudObject:

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=

See Also

ResourceData  ResourceSearch  CloudObject  ContentObject  DeleteFile

Introduced in 2016
(11.0)