On Sunday, 23 December 2018 19:23:27 UTC-7, William wrote:
>
> I didn't have anything to do with the change, but for what it is
> worth, it was definitely not my intention that calling R() twice only
> creates one interface.
> When I designed and implemented the interfaces, my intention was that
> it be possible to create multiple interfaces to multiple copies of R
> (or to any
> other pexpect interface).
>
> -- William
>
>
Well, that was also my impression given how Interface class starts:
class Interface(WithEqualityById, ParentWithBase):
"""
Interface interface object.
.. NOTE::
Two interfaces compare equal if and only if they are identical
objects (this is a critical constraint so that caching of
representations of objects in interfaces works
correctly). Otherwise they are never equal.
"""
The change for R() happened since it is no longer a pexpect interface, but
rpy2 one. I have no idea how exactly it works and if it is possible to use
it to create multiple instances or namespaces with it, but perhaps
knowledgeable people should look into it.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.