Strip all attributes from a variable
Strips all the attributes from a variable.
strip_attributes(x)
x |
Input to strip. |
x
, without attributes.
x <- structure(c(foo = 1, bar = 2), some_attr = 3) x2 <- strip_attributes(x) attributes(x) attributes(x2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.