Macaulay2 » Documentation
Packages » Macaulay2Doc :: homeDirectory
next | previous | forward | backward | up | index | toc

homeDirectory -- the home directory of the user

Synopsis

Description

In file operations, file names beginning with ~/ will have it replaced with the home directory.

i1 : homeDirectory

o1 = /home/m2user/

For the programmer

The object homeDirectory is a string.