<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>saveSession -- save the actual Polyhedra session to a file</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_secondary__Polytope.html">next</a> | <a href="_rays.html">previous</a> | <a href="_secondary__Polytope.html">forward</a> | <a href="_rays.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <hr/> <div><h1>saveSession -- save the actual Polyhedra session to a file</h1> <div class="single"><h2>Synopsis</h2> <ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt> saveSession F</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>F</tt>, <span>a <a href="../../Macaulay2Doc/html/___String.html">string</a></span></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><p/> All convex polyhedral objects (<a href="___Cone.html" title="the class of all rational convex polyhedral cones">Cone</a>,<a href="___Fan.html" title="the class of all fans">Fan</a>,<a href="___Polyhedron.html" title="the class of all convex polyhedra">Polyhedron</a>) that have been assigned to a <a href="../../Macaulay2Doc/html/___Symbol.html" title="the class of all symbols">Symbol</a> will be saved into the file <tt>F</tt>. If the package <tt>PPDivisor</tt> is loaded, then also all <tt>PolyhedralDivisors</tt> are saved into <tt>F</tt>. Also every <a href="../../Macaulay2Doc/html/___List.html" title="the class of all lists -- {...}">List</a> or <a href="../../Macaulay2Doc/html/___Sequence.html" title="the class of all sequences -- (...)">Sequence</a> containing any of the above types or lists and sequences of them in arbitrary nested depth of lists is saved.<p/> To recover the session simply call <tt>load F</tt>. It is not necessary that <tt>Polyhedra</tt> is already loaded (if not, it will be) and also <tt>PPDivisor</tt> is loaded if it was loaded when the session had been saved.</div> </div> <div class="waystouse"><h2>Ways to use <tt>saveSession</tt> :</h2> <ul><li>saveSession(String)</li> </ul> </div> </div> </body> </html>