     Instructions for installing the "S+PBSdata" library
     ====================================================


***** Instructions for Windows *****


1. Copy the archive file PBSdata.zip to the library folder where S-PLUS
   is installed, e.g.
       c:\Program Files\Insightful\splus61\library

2. Uncompress the archive.  On most Windows machines you can
   right-click the "PBSdata.zip" icon in Windows explorer,
   and select the "Extract to folder..." choice.
   You should see a new folder named "PBSdata"
   (which contains this file) inside the library folder.

3. To use the library:

   Start S-PLUS.

   Load the library using the 
       File:Load Library 
   menu, or
       > library("PBSdata")
   from the command line.

   If PBSdata is not located in the library folder, you will have to use
   the command line and also specify the location, e.g.
       > library("PBSdata", lib.loc = "c:/folder/subfolder")

4. The data should now be available for your use in S-PLUS,
   e.g. try typing in the Commands window:
       > library(help = "PBSdata") # need lib.loc here if needed before
       > help(PBSdata)      # This should bring up a help file
       > help(Exercise18.2) # This should bring up a help file
       > hist(Exercise18.2) # This should create a histogram
       > objects("PBSdata") # This should list all datasets in this library

5. Take a look at the menus under the PBSdata heading on the main
   S-PLUS menu bar.



***** Instructions for Unix/Linux *****

1. Copy the compressed archive file PBSdata.tar.gz to the library
   directory where S-PLUS is installed.  To find that, directory, do
       cd `Splus SHOME`/library
   If you do not have permission to install it there it can go
   elsewhere, e.g. in /users/me/mySplus

2. Uncompress and expand the archive:
       gunzip PBSdata.tar.gz
       tar cf PBSdata.tar
   You should see a new directory named "PBSdata"
   (which contains this file) inside the library directory, or your
   other directory.

3. To use the library:

   Start S-PLUS.

   Load the library using
       > library("PBSdata")
   from the command line or e.g.
       > library("PBSdata", lib.loc = "/users/me/mySplus")

4. The data should now be available for your use in S-PLUS,
   e.g. try typing at the command line:
       > library(help = "PBSdata") # need lib.loc here if needed before
       > help(PBSdata)      # This should bring up a help file
       > help(Exercise18.2) # This should bring up a help file
       > hist(Exercise18.2) # This should create a histogram
       > objects("PBSdata") # This should list all datasets in this library
