Dear William,

thanks for your guidance.

I would like to use the Schubert2 in Macaulay2 from Sage. I write as follows

sage: macaulay2.installPackage("Schubert2")

TypeError: Error evaluating Macaulay2 code.
IN:sage1=installPackage(sage0);
OUT:stdio:14:7:(3): error: no method found for applying installPackage to:
     argument   :  Schubert2 (of class Symbol)

How can I install a package in Macaulay2 from Sage?

Cheers,
Hiep

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...
>

Dear William,

I am going to

-- 
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