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
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 documentation is available in pdf and html format in the doc subdirectory.