Ask Your Question

how to run Macaulay2 in sagecloud?

asked 2014-01-19 17:05:34 -0500

cjsh gravatar image

updated 2015-01-17 10:47:44 -0500

FrédéricC gravatar image

I asked how to run kant3.

reply:sage -i kash,but today cannot run,

sage -i Macaulay cannot run too,

what meannings the words"Macaulay",a small plant of solar?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-11-16 11:31:07 -0500

I think this is helpful (see William Stein's response):!msg...

Ways to run Macaulay2 in SageMathCloud:

  1. Create a Sage worksheet and at the top of each cell type "%macaualay2" (see attached screenshot).

  2. Create a Sage worksheet and at the very top type "%default_mode macaulay2" (see attached screenshot).

  3. a. Start a Terminal ("+New--> Terminal") and type M2. Then type "setupEmacs()". Then exit M2.

    b. Start emacs (by typing "emacs" in the terminal) and type "M-x M2" to start Macaulay2 mode. (Here M-x might be "escape" then x... but I assume you know emacs.)

    Note: when using emacs in a terminal, you may need to use Firefox instead of Chrome (or use the SMC app from the Chrome web store), since with Chrome browser several common emacs shortcuts will close the browser window. This mainly impacts non-OS X operating systems.

    -- William

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2014-01-19 17:05:34 -0500

Seen: 680 times

Last updated: Nov 16 '14