On Tue, Nov 26, 2013 at 11:57 AM, Adrian Duşa <dusa.adr...@gmail.com> wrote: [...] > I read the "Writing R Extensions" manual, I could only find how to > handle with R lists in C (section 5.9.6 Handling lists), but I could > not find how to <create> a list in C, and access its components, and > this is basically where I got stuck.
Create a new list with NEW_LIST(), set elements with SET_VECTOR_ELT(), query elements with VECTOR_ELT(). Search 'Writing R Extensions', and the R source code itself, and/or the source code of packages (authored by people you can trust, not my packages, please :), for the details. Gabor [...] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel