I've tested Locfit 2.0 with S-Plus 7 and S-Plus 8 beta under Linux.
Installation may work similarly with S-Plus 5 and 6.
Download:
For installation of the binary, see the
Linux Binary
installation page.
Installation from Source
- Download and save the
- Unpack the archive:
gunzip locfit.tgz
tar -xvf locfit.tar
cd locfit
- Ensure the SHOME environment variable is properly set.
- Run the installation script, preferably as root:
./install.S8
If you don't have root privileges, then you will need to:
- Change INSTALLDIR in the Makefile. This is where locfit's
dynamic libraries go. (Alternatively, use static loading).
- Specify an installation directory for the S-Plus library:
./install.S8 -I $HOME/myslibrarydir -S
The -S switches to static loading.
- (Optional) Add the line
locfit Local Regression and Likelihood
to the file $SHOME/library/README.
Now, you're ready to run! Start S-Plus, and attach the
L
OCFIT library with
> library("locfit",first=T)