[R] Mac OS X and R

David Firth d.firth at warwick.ac.uk
Wed Jan 21 21:48:10 CET 2004

I can confirm that wavethresh doesn't install under (my) Mac OS 10.2.8:

 > install.packages("wavethresh")
* Installing *source* package 'wavethresh' ...
** libs
gcc -no-cpp-precomp -I/usr/local/lib/R/include  -I/sw/include   
-fno-common  -g -O2 -c ImageDecomposeStep.c -o ImageDecomposeStep.o
ImageDecomposeStep.c:24:20: malloc.h: No such file or directory
make: *** [ImageDecomposeStep.o] Error 1
ERROR: compilation failed for package 'wavethresh'

I use various other R packages (with C/Fortran source code) without 


On Wednesday, Jan 21, 2004, at 20:19 Europe/London, Prof Brian Ripley 

> On Wed, 21 Jan 2004, Peter Wickham wrote:
>> My Windows machine has gone "kaput" and I am trying to see how R might
>> work on my Mac. I am interested in using the contributed packages,
>> especially "waveslim" and "wavethresh". Are all packages available
>> under either Windows, Mac, or Unix? I can't seem to tell from the
> Yes, at least one of those!  Not all are available under Windows and 
> fewer
> still under MacOS X.  This is because
> - the people who build the binary packages are (rightly) conservative 
> and
> only release packages that clearly pass all the tests.
> - the MacOS X platform is a rather (very?) unusual Unix-alike.
> Looking on CRAN, both have waveslim but only Windows (and Unix) have
> wavethresh.   The latter does not appear on the status page
> http://cran.r-project.org/bin/macosx/1.8/Status
> so I don't know why.
>> documentation whether this is so (probably because I am not very
>> computer literate!). Any thoughts?
> Just look on CRAN to find out.
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html

More information about the R-help mailing list