slp package.
For large N, significant speed-ups can be obtained by pre-computing
the basis set and simply loading it from disk.
slpSavedObjectsN, W (in df/year) and
K of the pre-computed basis sets. Each combination is included as a
data(...) loadable .RData file.