Description Usage Arguments Details References Examples
Persist Attributes
1 2 3 4 5 6 7 8 9 | sticky(x)
unstick(x)
unsticky(x)
is.sticky(x)
sticky_all(x)
|
x |
objects to have attributes preserved. |
sticky
creates objects whose attributes are resilient to subsetting and
placing in containers such as lists, data.frames and data.tables.
This has been asked and written about numerous times on Stack Overflow. The first has a fairly comprehensive list to others SO discussions.
http://stackoverflow.com/questions/23991060/loss-of-attributes-despite-attempts-to-preserve-them
http://stackoverflow.com/questions/10404224/how-to-delete-a-row-from-a-data-frame-without-losing-the-attributes
http://stackoverflow.com/questions/23991060/loss-of-attributes-despite-attempts-to-preserve-them
http://stackoverflow.com/questions/23841387/approaches-to-preserving-objects-attributes-during-extract-replace-operations
http://stackoverflow.com/questions/13432519/indexing-operation-removes-attributes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.