Mathematica for UNIX
- Starting & Stopping Mathematica for UNIX
- To start:
If you are using an X terminal, like the PCs STAT25 or STAT26 in the Statlab, type
- math
- in the XTERM window.
If you are using an X terminal outside the StatLab and you telnet to the StatLab SUN, you can set your X display to your machine by entering:
- setenv DISPLAY your IP address:0
- To exit:
press
<CTRL+D>
- or enter
- Quit[ ]
- at the command line.
- To start:
- To save:
To append the definition of symbols to a file: - Save["filename","symbol_1,"symbol_2", ... ]
To output an expression to a file as plain text: - expression >> filename
To append an expression to a file as plain text: - expression >>> filename
To retrieve:
To read in a file, evaluate each expression in it, and return the last expression:
- <<filename
To display the contents of a file: - !!filename
- Edit[] start your editor with an empty buffer
- EditIn[] start your editor with the text of your latest input in the buffer
- EditIn[n] start your editor with the text of In[n] in the buffer
- Edit[expr] start your editor with a version of expr suitable for input in the buffer
- EditDefinition[f] start your editor with the
definition of f in the buffer
Though Mathematica has no built-in editing capabilities with text-based interface, it allows you to use whatever standard editor exists on your computer system:
There is general information available on how to run statistical software on Statlab's UNIX machines
[ Statlab Homepage | Yale Computing ]
