title: Behavior of saveRDS() and readRDS() in regard to objects' attributes
body: <p>Do <code>saveRDS</code> and <code>readRDS</code>, correspondingly, save and restore all object's attributes, including ones created by an application (via <code>attr</code>)? I tried to use this approach instead of <code>save</code> and <code>load</code>, in an attempt to find a workaround for my problem linked below. However, it doesn't seem to be the case, unless I'm doing something wrong: <a href="https://stackoverflow.com/questions/23701195/can-i-access-r-data-objects-attributes-without-fully-loading-objects-from-file">Can I access R data objects&#39; attributes without fully loading objects from file?</a>.</p>