Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 5296

Macaulay2-1.3.1-8.fc15.i686.rpm

<?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>using packages</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_utf8.html">next</a> | <a href="_user__Symbols.html">previous</a> | <a href="_utf8.html">forward</a> | <a href="_user__Symbols.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>using packages</h1>
<div>A package is a body of Macaulay2 source code devoted to a particular topic.  Many packages are distributed with Macaulay2, and others are available from various users on the internet.<p/>
For more detailed information about packages, see <a href="___Package.html" title="the class of all packages">Package</a>.<p/>
To load a package, say FirstPackage, use <a href="_load__Package.html" title="load a package">loadPackage</a> or <a href="_needs__Package.html" title="load a package if not already loaded">needsPackage</a>, as in:<pre>    loadPackage "FirstPackage"</pre>
or<pre>    needsPackage "FirstPackage"</pre>
Macaulay2 searches for the file FirstPackage.m2 on your search <a href="_path.html" title="list of directories to look in">path</a>.  The packages provided with Macaulay2 are on your search path, as is your current working directory.<p/>
Documentation for the packages provided with Macaulay2 is already installed.  TO install documentation for another package, use <a href="_install__Package.html" title="load and install a package and its documentation ">installPackage</a>.<pre>    installPackage FirstPackage</pre>
You may see what packages have been loaded with the variable <a href="_loaded__Packages.html" title="the list of loaded packages">loadedPackages</a>.<pre>    loadedPackages</pre>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_packages_spprovided_spwith_sp__Macaulay2.html" title="">packages provided with Macaulay2</a></span></li>
<li><span><a href="_creating_spa_sppackage.html" title="">creating a package</a></span></li>
</ul>
</div>
</div>
</body>
</html>