hi,
thanks to all the replies, i think the discussion can be followed
throughout this message.
> You are returning an result in a function that returns void: the compiler
> will complain at you.
apologies, indeed it should have been
SEXP f(SEXP list, SEXP element);
> If you study the R Intern
dear people,
i need to code a function in C working in R and receives two R SEXP
objects as parameters, where one is a list and another is a vector of
integers:
void f(SEXP list, SEXP vector) {
...
return list;
}
and it should return the given list with the integer vector concatenated
at