Dear all,
It works now. I just write as follows:
sage: macaulay2.installPackage('"Schubert2"')
Have fun!
Hiep
On Aug 13, 12:04 pm, Hiệp Đặng <[email protected]> wrote:
> 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/ma...
>
> > sage: macaulay2('2+3')
> > 5
> > sage: macaulay2.eval('x = 10')
> > 10
> > sage: macaulay2('x - 3')
> > 7
>
> > I've installed Macaulay2 on the computer thathttp://sagenb.orgruns
> > 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 [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