represents a new anonymous local object.
represents a local object with a given file path.
represents a local object with the given relative path.
represents a local object relative to the base lbase.
Examplesopen allclose all
Basic Examples (3)
Local objects can be used with CopyFile to store files persistently:
Local objects can be used with Save to save definitions persistently:
Definitions saved can be read into the Wolfram Language using Get:
Local objects can be used with DumpSave to save definitions persistently:
Local objects can be deleted with DeleteObject:
Local objects can be listed with LocalObjects:
Generalizations & Extensions (3)
File paths can also be specified with File:
Properties & Relations (8)
Relative paths are resolved with respect to $LocalBase:
Local symbols are local objects stored in the directory $LocalSymbolBase:
A file scheme URL can be converted to a path by ExpandFileName:
A local object can be given directly in ExpandFileName:
File scheme URLs and local objects can be used in FileNameSplit:
CloudObject provides for persistent storage in the cloud:
RenameFile works on local objects:
FileNameJoin works with local objects:
Possible Issues (1)
Applying LocalObject by itself does not create the referenced file:
Wolfram Research (2015), LocalObject, Wolfram Language function, https://reference.wolfram.com/language/ref/LocalObject.html.
Wolfram Language. 2015. "LocalObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LocalObject.html.
Wolfram Language. (2015). LocalObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LocalObject.html