On Mon, Dec 24, 2018, 7:21 AM Andrey Novoseltsev <novos...@gmail.com wrote:

> 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.
>

When I last looked, I think the rpy2 interface happens entirely at the C
library level, and there is only one process involved.   It's really
unfortunately if somebody just deleted the pexpect interface and replaced
it with rpy2.  Instead, I would think both should be supported, since they
have complementary functionality (pros and cons to each)...  Oh well.

 -- William

>

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to