Building LOCFIT for S-Plus versions 5 and 6.
The installation below is designed for S-Plus versions 5 and 6.
For S-Plus 5.0 and 5.1 on some platforms, the library installation is
broken, so the compilation may not work. S-Plus 6 seems more reliable.
For pre-compiled versions of LOCFIT, see
the binaries page.
- Download and save the LOCFIT
source archive.
To make Locfit available to all users on your system,
save the archive in $SHOME/library.
- Unpack the archive:
gunzip locfit.tgz
tar -xvf locfit.tar
cd locfit
Do NOT run Splus5 CHAPTER in the locfit directory.
- Ensure the SHOME environment variable is properly set.
- If you do not invoke S-Plus with the command
Splus5, you'll need to edit the definition of SPLUS
in the install.S5 file. S-Plus 6 users: this is important!
- Run the S-Plus 5 installation script:
./install.S5
This should make some subdirectories, and compile the necessary source files.
- If S-Plus is started in the installation directory, Locfit is available
automatically. If S-Plus is started in another directory, attach
the library with
> library("locfit",first=T)
(use a lib.loc argument if necessary).
- (Optional) Add the line
locfit Local Regression and Likelihood
to the file $SHOME/library/README.
Copyright © 1996-2001 Lucent Technologies, Bell Laboratories
Catherine Loader,
catherine@research.bell-labs.com
[LOCFIT home page]