SET_NAMED in getattrib0

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

SET_NAMED in getattrib0

Matthew Dowle

Can someone please set me straight on why getattrib0 calls
SET_NAMED on the SEXP it returns?  For example the line :

     SET_NAMED(CAR(s), 2);

appears near the end of getattrib0 here : 

getattrib() is just reading the value.  Shouldn't NAMED
be bumped if and when the result of getattrib() is
bound to a symbol at R level?


        [[alternative HTML version deleted]]

[hidden email] mailing list