William Dunlap wrote:
>
> In R-devel (svn 49628) and back to at least R 2.7.0 we get
> inconsistent results when attempting to attach attributes to
> a variable with the value NULL.
>
> If we use attributes<- it finishes but changes the value to list().
>
>> a<-NULL
>> attributes(a)<-
In R-devel (svn 49628) and back to at least R 2.7.0 we get
inconsistent results when attempting to attach attributes to
a variable with the value NULL.
If we use attributes<- it finishes but changes the value to list().
> a<-NULL
> attributes(a)<-list(attr1="First attribute", attr2=2+2i)