Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

ResourceRemove

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

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (2)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]=

The content is stored 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]=
Introduced in 2016
(11.0)