October 4, 2009: Added method callMaple(String).
The goal of this package is to provide an interface to run Maple scripts from Macaulay 2.
This package is just an interface. To use it you need a licence for Maple and have the program installed on your machine.
Install this package by doing
Edit the file init-MapleInterface.m2 in the directory .Macaulay2 in your home directory changing the line
"MapleCommand" => "maple"
"MapleCommand" => StringWithMapleCommand
where StringWithMapleCommand is a string containing the command starting command-line Maple in the shell.
This is usually "maple" on Unix machines (be sure that you do not put the command launching xmaple).
If you are using Macaulay 2 in cygwin and the Windows native Maple version best put the complete path to the Maple command line executable, e.g., StringWithMapleCommand could be (depending on the Maple version)
"C:/Program Files/Maple 9.5/bin.win/cmaple9.5.exe"
(English Windows version)
(German Windows version).
To test whether the interface is working do, e.g.,
(which should return 1)
Note that the file init-MapleInterface.m2 will be overwritten when you reinstall a newer version of the package, but there will be a backup.
This documentation describes version 0.3 of MapleInterface.