Instructions for Installing a Library Under Windows =================================================== You should have a file called libraryname.zip where libraryname is the name of the library you downloaded. Unzip the file in the location where you want to install the library to be installed. This will create a directory called libraryname containing the library contents. If you want to install it under your S-PLUS distribution then you should unzip the file in: SHOME\library where SHOME is the top level directory where S-PLUS was installed (often this is c:\Program Files\Insightful\splus6). You can find the correct directory by right clicking on the S-PLUS icon on your desktip, selecting the properties menu item, and looking at the path to the "target" program. If the "target" path is "D:\Program Files\Insightful\splus6\cmd\SPLUS.exe" then SHOME is: D:\Program Files\Insightful\splus6 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="d:/mywork", first=T) library(correlatedData, lib.loc="d:/bob/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.