On Thu, Aug 11, 2011 at 3:41 PM, Hiệp Đặng <dangtuanhiep...@gmail.com> wrote:
> Dear all,
>
> I would like to use the interfaces between Macaulay2 and Sage.
>
> How can I do this?

Look at the examples at [1].

[1] 
http://hg.sagemath.org/sage-main/file/ce324e28c333/sage/interfaces/macaulay2.py

sage: macaulay2('2+3')
5
sage: macaulay2.eval('x = 10')
10
sage: macaulay2('x - 3')
7

I've installed Macaulay2 on the computer that http://sagenb.org runs
on, so I think you can use the Macaulay2 interface there...

william

>
> Cheers,
> Hiep
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to
> sage-support+unsubscr...@googlegroups.com
> 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 sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to