Macaulay2 » Documentation
Packages » Normaliz :: nmzDataPath
next | previous | forward | backward | up | index | toc

# nmzDataPath -- global variable, the path where Normaliz stores its files

## Description

This global variable stores the file path where Normaliz stores the files written. By default it is the empty string which means that the files are stored in the current directory. If no filename is specified, this variable is not used. There is no check whether the assigned directory exists. If it does not exist, Normaliz will issue an error message. Use e.g. makeDirectory to create an directory within Macaulay 2.

    i1 : nmzDataPath

    o1 =

    i2 : nmzDataPath="d:/Normaliz2.5Windows/example";

    i3 : nmzDataPath

    o3 = d:/Normaliz2.5Windows/example

## Caveat

Note that the path should not contain $ since Macaulay 2 seems to have problems with such paths.

## See also

- Keeping results of the computation by Normaliz

## For the programmer

The object nmzDataPath is a string.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Normaliz.m2:1020:0.