Dear all, I am reading C++ code that is called in an R package. It is not clear to me what SET_STRING_ELT, getAttrib, etc exactly do.
I understand that these are macros that have been declared in Rinternals.h and who are used for the correct "translation" of the R data structures, but I have not found their definition, and it is not clear to me what they do to their inputs and what type of output they generate precisely. I have consulted several resources ("Writing R extensions", Gentleman's "R programming for bioinformatics", Chamber's "Software for Data Analysis"), who do mention these macros, but the discussion remains very general (and too general for me to understand the code that I am deciphering). I have not found a description on CRAN either. Does anybody know an accessible documentation that could help me forward? Laurent Franckx, PhD VITO NV Boeretang 200, 2400 MOL, Belgium Tel. + 32 14 33 58 22 Skype: laurent.franckx laurent.fran...@vito.be http://www.vito.be/e-maildisclaimer ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.