Hi,
 
I have an SEXP obj in a C function called via .Call(). The obj is
protected (in fact it is an argument to .Call and therefore
automatically protected). If I set an attribute of obj does the
attribute become protected too? Here is an example
 
SEXP foo(SEXP obj) {
    SET_NAMES(obj, NEW_CHARACTER(3));  /* are names protected or not? */
...
}
 
 
Thanks,
Vadim

	[[alternative HTML version deleted]]


