Skip to content
Prev 57233 / 63421 Next

[External] Re: ALTREP wrappers and factors

On Fri, 19 Jul 2019, Gabriel Becker wrote:

            
SET_NAMED should NEVER be used in a package. In fact it will hopefully
disappear at some point not too far in the future.
At this point we are not ready to cast in stone an interface to
creating wrappers from R.  The C R_tryWrap could be used, but it is
still subject to change.

You might try your example with a larger vector. In R 3.6.x
structure() should produce a wrapper for length 100 or more.

Best,

luke