On Friday, January 27, 2012, Fredrik <[email protected]> wrote:
> I'm trying to use Macaulay2 through Sage. However, I get an error
> message. Here's what I type in Sage (notebook interface):
>
> "
> m = macaulay2
> m.eval('2+4')
> "
>
> I get the error message
>
> "
> Traceback (click to the left of this block for traceback)
> ...
> RuntimeError: Unable to start macaulay2 because the command 'M2
> --no-debug --no-readline --silent -e 'ZZ#{Standard,Core#"private
> dictionary"#"InputPrompt"} = lineno -> "_EGAS_ :
> ";ZZ#{Standard,Core#"private dictionary"#"InputContinuationPrompt"} =
> lineno -> "_EGAS_ : ";printWidth = 0;lineNumber = 10^9;'' failed.
> "
>
> I'm using Mac OS X 10.7.2. I have Macaulay2 installed on my system,
> and the command M2 will start Macaulay2 in the Terminal. I have Sage
> version 4.7 and Macaulay2 version 1.4. (if it is relevant, trying to
> use R, Python and Singular through Sage works just fine)
>

What happens if you do this:

sage: !M2


> Regards,
> Fredrik Meyer
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
[email protected]
> For more options, visit this group at
http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>

-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to