Question 2

Question 2

My Macaulay 2 application directory has no init.m2 file in it, and not much else. Why?

Answer

Oops, this will be fixed in the next version. (It's broken in version 1.1, and affects only brand new users of Macaulay 2.)

Run these commands in Macaulay 2:

  old = homeDirectory | "oldstuff"
  makeDirectory old
  run ("mv \"" | applicationDirectory() | "\" " | old)
  run /// M2 -e "exit 0" ///

If all goes as planned you will see a message such as this one:

  --initializing user Macaulay 2 directory "/home/dan/.Macaulay2/"

Later on, you can manuallly remove the few files lingering in the "oldstuff" subdirectory of your home directory, created by the commands above to house your old application directory.