powered by
strip_attributes(x)
x
x <- structure(c(foo = 1, bar = 2), some_attr = 3) x2 <- strip_attributes(x) attributes(x) attributes(x2)
Run the code above in your browser using DataLab