[Rd] Characters in lists.

2005-06-04 Thread James Bullard
Hi all, this should be a relatively straightforward question. I am constructing an R list in C which will contain both Integers and Strings (by string I mean in C I have const char* whose values I want passed through to R) The Integers are easy. I do something like this: PROTECT(tmp = NEW_INTE

[Rd] returning an empty list.

2005-05-17 Thread James Bullard
I understood the documentation this seemed like the correct usage. It seems like I could really just do the following: return NEW_LIST(0); but I thought I'd better ask first. Thanks in advance, I hope I did not miss something in the documentation which describes this. Thanks, jim --