R/attrutil.R
unattr.Rd
Returns object with attributes removed
unattr(x)
any R object
a similar object with attributes removed
attribute removal copies the object as usual
attributes(), setattributes(), unclass()
attributes()
setattributes()
unclass()
Jens Oehlschlägel
bit(2)[] #> [1] FALSE FALSE #> attr(,"vmode") #> [1] "boolean" unattr(bit(2)[]) #> [1] FALSE FALSE