Skip to content
Prev 18247 / 63424 Next

Small issue with R's C API

Prof Brian Ripley wrote:
The first option here does not seem to work. The code

SEXP dimAttr = getAttrib(smat, R_DimSymbol)

does not set dimAttr to 0 (NULL) wheh smat is actually a vector.