On Wed, Mar 26, 2014 at 9:50 AM, Dirk Eddelbuettel <edd@debian.org> wrote:

>
> On 26 March 2014 at 17:22, Romain François wrote:
> | I'd like to compare two strings internally the way R would, so I need
> Scollate which is not part of the authorized R api.
> |
> | So:
> |  - Can Scollate (and perhaps Seql) be promoted to api ?
> |  - If not what are the alternatives ? Using strcmp or stroll does not
> seem as general as Scollate.
>
> I'd add a third option:
>
>    - Put this in a new package and register the functions you want.
>

That would not achieve what Romain wants. Or rather, it would when he did
it, but would not be guaranteed to do so at any point after the next
release of R.

My understanding of his request is that he wants something that will
"behave as R will", not "behave as R does now".

All that having been said, not every single thing R does internally can be
public and of course I'm not privy or a party to discussions on what should
and shouldn't be. But freezing and duplicating small pieces of R's
non-exported internal code seems like a dangerous move to me.

~G




-- 
Gabriel Becker
Graduate Student
Statistics Department
University of California, Davis

	[[alternative HTML version deleted]]

