gives the list of all persistent initialization objects in all locations in $PersistencePath.
gives all persistent initialization objects for symbols matching the string pattern "patt".
gives all matching persistent initialization objects in the persistence location loc.
gives all matching persistent initialization objects in all the loci.
Details and Options
- InitializationObjects has the option EvaluationEnvironment, which specifies for which evaluation environment initialization objects should be given. The default setting is EvaluationEnvironment:>$EvaluationEnvironment.
- In InitializationObjects["patt",loc], possible forms for the persistence location loc include:
PersistenceLocation["type"] "Local", "Cloud", "FrontEndSession", etc. locations "type" equivalent to PersistenceLocation["type"] PersistenceLocation["type","base"] location with a particular base (directory etc.) "type""base" equivalent to PersistenceLocation["type","base"]
- Supported location types include:
"KernelSession" current invocation of the Wolfram Language kernel "FrontEndSession" current invocation of the Wolfram Notebook front end "Notebook" the notebook in which the current evaluation is being done "ServerSession" persistence for requests on a single web server "CookieManaged" persistence based on a Wolfram browser cookie "Local" local to a computer, based on user home directory "LocalShared" local to a computer, based on $BaseDirectory "Cloud" in the cloud defined by the current $CloudBase "Installation" installation defaults
- InitializationObjects[All,loc] gives all objects in the location or locations loc.
Examplesopen allclose all
List all initializations in a particular persistence location:
List all initializations for a particular symbol in all persistence locations on $PersistencePath:
Wolfram Research (2017), InitializationObjects, Wolfram Language function, https://reference.wolfram.com/language/ref/InitializationObjects.html (updated 2021).
Wolfram Language. 2017. "InitializationObjects." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/InitializationObjects.html.
Wolfram Language. (2017). InitializationObjects. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InitializationObjects.html