The following software is LEGACY and only provided for historical use. The software won't work properly with R2.9.0 and later. Use the newer versions on the WaveThresh home page The installation advice might be useful for the recent packages as well.
Since this is a beta version we would appreciate knowing about any bugs or improvements. Any problems please contact Dan Bailey
Packages
and then select
Install packages(s) from local zip files
and then
choose the zip file that you downloaded. Wait until it finishes.
library("wavethresh")
On Linux you need to decide whether this is going to be a system-wide installation (in which case you need the appropriate permission) or a personal installation (ie, the package files get stuffed somewhere under your home directory).
Personal installation
/home/guy/myrlibrary
you should replace this string
by whatever you decide to use (and make sure the directory exists).
.Rprofile
in your home directory. In that file add the line
.libPaths("/home/guy/myrlibrary")
wavethresh4_4.0-2.tar.gz
to a convenient location.
R CMD INSTALL wavethresh4_4.0-2.tar.gz
.libPaths
command in the
.Rprofile
file.
library("wavethresh")
every time you wish to
use it.
.libPaths
command in any .Rprofile
file
which diverts the install to another directory.
R CMD INSTALL wavethresh4_4.0-3.tar.gz
R CMD INSTALL wavethresh4_4.0-2.tar.gz
cc_dynamic problems
One user experienced problems with installation and got the error message
can't locate file for: -lcc_dynamic
His solution was to edit the Makefile
and remove the
-lcc_dynamic
flag and then remake (the *.so
)
and that seemed to work.
Apparently the problem is to do with different versions of gcc being used.
A web newsgroup suggested to run sudo gcc_select 3.3
which
changes the version of the default gcc to be 3.3. Although from reading
other material on the web it seems like this should not be an issue when
using versions of R>2.2.0. The quote is:
R 2.2.0 CRAN release provides a fall-back soft link to cc_dynamic such that gcc_select should not be necessary anymore.
(from this source)