• Log onto the acpub unix workstation
  • Follow the instructions on the course web Computing page to run S-Plus within emacs
  • Download the S-Plus commands in the demo.ssc file to your home directory -- save it in a file named demo.ssc
  • Download the iris data set from the data page (or just click here) and save it as a file named "T01.1" in your home directory.
  • Start emacs and load the demo.ssc file by typing
     		emacs demo.ssc &
  • Split the emacs screen by typing the emacs command
         	Ctrl-x 2   (i.e., control x followed by 2) 
    
  • In one of the two windows so created, type
    		Esc-x S 
    which starts S-Plus; hit Enter if it asks a question (in the command line at the bottom)
  • Input commands to S-Plus from its screen interactively -- you need to point the cursor at the screen and click the left button to make that screen the "current" or "live" window
  • Execute S-Plus commands simply by typing them in, followed by Enter
  • The first S-Plus command should be
    		motif()
    to open a graphics window -- all graphs will be plotted there with the display cleared and refreshed between plots
  • Sequence through some of the demo.ssc commands: figure out what they do
  • You can iterate between the two windows of the split-screen; use the cursor/click to make either one the "current" window.
  • To copy/paste a command from demo.ssc, click and drag the left mouse key to highlight a command, then skip to the S-Plus window, make it "live" with a click on the left key, then paste the command with a click on the middle key; don't forget to end with Enter
  • Don't forget: at the end, to close the S-Plus session use
     		q()
    and quit emacs using "Exit" on the pull-down "File" menu
  • Have fun! Explore different data sets, read some in, plot, draw histograms, and generally fool around.