The SPAMS toolbox for R is ditributed in source mode only.
It should compile on linux and Mac.
The installation procedure is described in the file INSTALL-package
R CMD INSTALL --html -l $R_LIBS spams
You have the choice of the BLAS library, but the Intel MKL is recommended for the best performance.
If you want to add or change libraries, you must modify
the file spams/src/Makevars
.
The documentation is available in pdf and html format in the doc subdirectory.