I was looking into making sub-assignment into atomic vectors work when the
value is an S4 object. The plan was to simply dispatch to an as.vector
method and proceed as normal.
Currently, if 'x' is a list, then any S4 'value' is first wrapped in a list.
One can rationalize this by thinking of the S
In the NEWS for R 3.3.0 is this change:
* [<- with an S4 value into a list currently embeds the S4 object
into its own list such that the end result is roughly equivalent
to using [[<-. That behavior is deprecated. In the future, the
S4 value will be coerced to a list with