WaveThresh3 Software

What version of Splus are you using?

oBETA Release (3.9.7) Download version for Unix and Splus 3.x
oBETA Release (3.9.7) Download version for Unix and Splus 5.x or Splus 6.x
After saving these files you will need to gunzip them and then use the sh utility to unpack them: e.g.

gunzip file.shar.gz
sh file.shar
This unpacks the files. Then read the Install+Use file for Version 3.x (Version 5.x and Version 6.x please read and start with the additional remarks below).
Version 5.x and 6.x

The installation and build process for Splus5 or Splus6 is a bit different than for previous versions. Basically one follows the instructions in Chambers, J.M. (1998) Programming with Data, Springer-Verlag: New York on page 233. Here summarised are some instructions.

Note that if you are using Splus 6.x then replace all calls to Splus5 with Splus6 (that is of course if your Splus executable is called Splus5 or Splus6; it might just be called Splus). With Splus6 none of the bugs outlined below occured under Redhat 8.0.

  1. Save the gzipped shar file to the directory where you want to create the WaveThresh library. If you have the necessary permissions then go into the S HOME directory ($SHOME) and put the file in the library directory (e.g. ${SHOME}/library.)
  2. Gunzip the file. Run the file through sh. E.g. type:
    sh WaveThresh3.9.6v5.shar
    The system unpacks the files into the directory. A subdirectory called WaveThresh is created.
  3. cd to the WaveThresh directory.
  4. Initialize the Chapter. Type:
    Splus5 CHAPTER
    The last message should be S chapter initialized.
  5. (Optional) If you want the C code to be optimised to run faster you might want to add the -O option to the LOCAL_CFLAGS variable in the makefile. To do this edit the makefile, locate the LOCAL_CFLAGS variable (the 6th line down in my makefile) and make it read
    LOCAL_CFLAGS=-O
  6. The SPlus source code needs to be installed or booted into the _Data directory. Type:
    Splus5 make boot
    You should get the message
    S datasets booted
    if all goes well.