[GAP Forum] Storing everything in file

Alexander Hulpke hulpke at math.colostate.edu
Fri Jul 16 16:36:14 BST 2010



Dear Forum,

Imran Qureshi asked:

> Is it possible to save all the entries  of the GAP session and output in some 
> file by setting up some file a priory?

Since you mentioned a ``log file'' feature for aome other system, the command
LogTo(filename)
will create a text file with a transcript of your GAP session.

If instead you want to save the state of the system to stop a calculation and continue later, you can use
SaveWorkspace(filename)
and later start GAP with the -L command line option to load the saved workspace -- see the manual section
3.11 Saving and Loading a Workspace
for more details. 

The use of a command line option makes this feature complicated for Windows users.
Users of the ggap shell provided with the installer from
http://www.math.colostate.edu/~hulpke/CGT/education.html
can use the menu option for saving a workspace.

I hope this helps,

   Alexander Hulpke




-- Colorado State University, Department of Mathematics,
Weber Building, 1874 Campus Delivery, Fort Collins, CO 80523-1874, USA
email: hulpke at math.colostate.edu, Phone: ++1-970-4914288
http://www.math.colostate.edu/~hulpke






More information about the Forum mailing list