% xterm &The % sign tells us we're at the unix prompt. Remember the Splus prompt is >. This brings up an additional window. If you want more, type it again and another window will pop up. We'll use one window to run Splus and another to run an editor to save useful commands.
% netscape &In netscape you'll want to go to lab1 and download the necessary data. When you get to lab1 click on fish.asc and save it to a file called fish.asc. If you type
% lsfrom one of your open windows, it will list all the files in your home directory. fish.asc should now be there.
> SplusThis window now is the command window for Splus. In that window type
> motif()This brings up a graphics window. Now you can type the Splus commands into the command line window as before.
> fish_read.table("fish.asc",header=T)You should now have the dataframe fish loaded into Splus. To check type
> fish river station length weight conc logconc 1 lumber 1 47.0 1616 1.6 0.2041200 2 lumber 1 48.7 1862 1.5 0.1760913 : 169 wacamaw 16 45.4 1710 1.70 0.230448921 170 wacamaw 16 41.7 1255 1.40 0.146128036 171 wacamaw 16 36.0 702 0.92 -0.036212173
% pico notes1This will create a file called notes1 and let you edit it using the pico editor. This is the same editor that you use in pine to compose mail messages. You can cut and paste in unix using the left mouse button to highlight text, and the center (or left and right buttons together) button to paste the highlighted text.