M2 man page

M2 — start Macaulay2, a software system for algebraic geometry research.

Synopsis

M2 [option ...] [file ...]

Description

The command M2 starts Macaulay2, which is a software system devoted to supporting research in algebraic geometry and commutative algebra.

Options

--help

print this brief help message and exit

--no-backtrace

print no backtrace after error

--copyright

display full copyright messasge

--no-debug

do not enter debugger upon error

--debug n

debug warning message n by signalling an error

--dumpdata

read source code, dump data if so configured, exit (no init.m2)

--no-loaddata

don't try to load the dumpdata file

--int

don't handle interrupts

--notify

notify when loading files during initialization and when evaluating command line arguments

--no-prompts

print no input prompts

--no-readline

don't use readline

--no-setup

don't try to load setup.m2 or to loaddata

--no-personality

don't set the personality and re-exec M2 (linux only)

--prefix DIR

set prefixDirectory

--print-width n

set printWidth=n (the default is the window width)

--script

as first argument, interpret second argument as name of a script implies --stop, --no-debug, --silent and -q see scriptCommandLine

--silent

no startup banner

--stop

exit on error

--texmacs

TeXmacs session mode

--version

print version number and exit

-q

don't load user's init.m2 file or use packages in home directory

-E '...'

evaluate expression '...' before initialization

-e '...'

evaluate expression '...' after initialization

-x

example prompts, don't use readline

See Also

The documentation for Macaulay2 is available locally starting in ${prefix}/share/doc/Macaulay2/Macaulay2Doc/html/index.html, where ${prefix} is replaced by the directory prefix used when the package was installed.  The directory is available as the value of the Macaulay2 variable prefixDirectory, but the best way to get to it is to run the command viewHelp in Macaulay2.

The home page for Macaulay2 is http://www.math.uiuc.edu/Macaulay2/.

Author

Macaulay2 is written by Daniel R. Grayson and Michael E. Stillman with generous support of the National Science Foundation, for which we are grateful.

Info

Macaulay2-1.9.2