Skip to content
Prev 12100 / 12125 Next

[R-pkg-devel] Using the connections interface to decode text

As the author of the custom connection API the answer is no, it was not the intention. The structure has to be exposed in order to implement the connection API for new connections types, there is no way around it (since implementing code need access to the internals), but it should not to be used outside of that context since it should be opaque to the *users* of the connections. So packages that do not implement new connections should not use the internal structures to access the internals of connections, because they are not intended to be part of the public API as they may change. That?s why this is strictly experimental - if we need to change it, only packages implementing new connections would have to adapt, but no one else should. Does that clarify?

Cheers,
Simon