[R] getAttrb - Solved

Nicholas Lewin-Koh kohnicho at comp.nus.edu.sg
Thu Sep 7 06:22:31 CEST 2000


Hi,
I changed 
INTEGER(getAttrib(shape,mkChar("nParts")))[0]
to
INTEGER(getAttrib(shape,mkString("nParts")))[0]

and now it works fine.

Nicholas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list