next | previous | forward | backward | up | top | index | toc | home
Macaulay2 > The Macaulay2 language > system facilities > loaddata

loaddata -- load state of the system from a file

Description

loaddata s -- load all data segments for the current process from the file whose name is stored in the string s. The file must have been created with dumpdata and the same version of Macaulay 2.

The file should have been created with dumpdata. Everything will be returned to its former state except:

  • environment -- the environment variables
  • commandLine -- the command line arguments
  • whether the standard input is echoed and prompts to the standard output are properly flushed, which depends on whether the standard input is a terminal.