Macaulay2 » Documentation
Packages » Polyhedra :: saveSession
next | previous | forward | backward | up | index | toc

saveSession -- save the actual Polyhedra session to a file



All convex polyhedral objects (Cone,Fan,Polyhedron) that have been assigned to a Symbol will be saved into the file F. If the package PPDivisor is loaded, then also all PolyhedralDivisors are saved into F. Also every List or Sequence containing any of the above types or lists and sequences of them in arbitrary nested depth of lists is saved.

To recover the session simply call load F. It is not necessary that Polyhedra is already loaded (if not, it will be) and also PPDivisor is loaded if it was loaded when the session had been saved.

Ways to use saveSession :

For the programmer

The object saveSession is a method function.