Instructions for Installing a Library Under Unix/Linux ====================================================== You should have a file called libraryname.tar.gz where libraryname is the name of the library you downloaded. Unzip and untar the file in the directory of you choice. This can be done with commands: gunzip -c libraryname.tar.gz | tar -xf - or tar -xzf libraryname.tar.gz # if your tar supports the z flag This will create a directory called libraryname in the current directory. If you want to install it under your S-PLUS distribution then you should unpack the file in: SHOME/library where SHOME is the top level directory where S-PLUS was installed. You can find SHOME by running the command: Splus SHOME at a shell prompt. To load the library in S-PLUS, at the S-PLUS prompt, run: library(libraryname, lib.loc="mylibpath", first=T) where libraryname is the name of the library and mylib is the complete path to the directory where you unpacked the zip file. Here are some examples: library(best, lib.loc="/homes/mike/mywork", first=T) library(correlatedData, lib.loc="/users/sally/spluswork", first=T) It is not necessary to specify the lib.loc value if you unpacked the zip file in SHOME/library. The first=T argument attaches the library in position 2 instead of the default at the end of the search path.