represents a symbol whose value is persistently stored in the local file system.


represents a persistent symbol corresponding to the local object obj.


  • Values can be assigned using LocalSymbol[name]=val or LocalSymbol[name]:=val.
  • LocalSymbol[name] evaluates to give the value assigned for LocalSymbol[name].
  • Values of local symbols are stored in local objects.
  • LocalSymbol["name"] by default references a local object with the specified name within the directory $LocalSymbolBase.
  • LocalSymbol["name",base] references a local object relative to the specified base.
  • Local symbols can be shared between users if appropriate permissions are set on the underlying file system objects.
  • In LocalSymbol["name"], "name" can be any string.
  • LocalSymbol[File["path"]] and LocalSymbol[relpath,File["path"]] are also supported.
  • Local symbols can be removed with Remove.


open allclose all

Basic Examples  (1)

Assign a value to a local symbol:

Click for copyable input

Retrieve the value:

Click for copyable input

Scope  (4)

Generalizations & Extensions  (3)

Applications  (1)

Properties & Relations  (3)

Possible Issues  (1)

See Also

LocalObject  $LocalSymbolBase  LocalObjects  Symbol  WolframLanguageData  CloudSymbol  Remove

Introduced in 2015