Access Keys:
Skip to content (Access Key - 0)

How can I set up a Maple initialization file?

If you have packages you want to load, variables you want to predefine, or other settings you want to customize for all of your Maple sessions, you can accomplish this with an initialization file. This is simply a text file consisting of commands as you would type
them at the Maple prompt; name the file ".mapleinit" and save it in your home directory. When you run Maple, it executes the contents of ~/.mapleinit after it has finished the usual system startup.

What you put in this file depends on what you want to do. For example, to automatically change the default values for the global variables "Order", "Digits", and "prompt" you could put:

        Order := 10:  Digits := 20:  interface(prompt=`What now? `):

in your initialization file. (You'll probably want to use colons for termination, to keep the results of the commands from printing during initialization.)

See Also

IS&T Contributions

Documentation and information provided by IS&T staff members

Last Modified:

August 03, 2020

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
olc-maple olc-maple Delete
maple maple Delete
initialization initialization Delete
file file Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
This product/service is:
Easy to use
Difficult to use

This article is:
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki