REFERENCE: For a tutorial on S see "Notes on S" by Venables. A copy is kept in the ISDS lounge. Get an on-line copy by clicking on "S-plus" in the 215 computing homepage. EMACS: First copy the lines from ~pm/215/emacs-215 (if you are on isds) ~peter/emacs/emacs-215 (if you are on acpub) into your .emacs file. If you don't have a .emacs file yet: cp ~pm/215/emacs-215 .emacs To start S from within emacs just type: M-x S Open a file, say bod.s, to edit your S functions. Change it to S-mode by typing M-x s-mode You can ``submit'' commands from bod.s to the S process by the ff commands (typed when bod.s is the current buffer): C-c C-n submits one line at a time M-C-x submits the function in which the curor is positioned C-c C-r submits the marked region C-c C-l submits a whole file You can change commands which you type in bod.s, and resubmit them..