Re: [sage-devel] Single instance of R only

2018-12-25 Thread Timo Kaufmann
I don't really see a reason to rename it. The old name doesn't suggest that it is implemented with pexpect. The implementation by definition should be an implementation detail, the behaviour is largely the same. Am Dienstag, 25. Dezember 2018 23:40:00 UTC+1 schrieb Andrey Novoseltsev: > > > > On

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Andrey Novoseltsev
On Tuesday, 25 December 2018 14:55:02 UTC-7, Timo Kaufmann wrote: > > Am Dienstag, 25. Dezember 2018 22:46:22 UTC+1 schrieb Nils Bruin: >> >> Perhaps for reference, maxima_lib can only be instantiated once and, >> since sage.interfaces.maxima_lib is only referenced at start-up via >> lazy_impor

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Timo Kaufmann
Am Dienstag, 25. Dezember 2018 22:46:22 UTC+1 schrieb Nils Bruin: > > Perhaps for reference, maxima_lib can only be instantiated once and, since > sage.interfaces.maxima_lib is only referenced at start-up via lazy_import > (which has its own problems), the instantiation happens upon import of >

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Timo Kaufmann
Am Dienstag, 25. Dezember 2018 22:04:06 UTC+1 schrieb Andrey Novoseltsev: > > On Tuesday, 25 December 2018 13:53:07 UTC-7, Timo Kaufmann wrote: >> >> Am Dienstag, 25. Dezember 2018 16:32:10 UTC+1 schrieb Andrey Novoseltsev: >>> >>> It does not affect me personally at all, my use of R is limited t

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Nils Bruin
Perhaps for reference, maxima_lib can only be instantiated once and, since sage.interfaces.maxima_lib is only referenced at start-up via lazy_import (which has its own problems), the instantiation happens upon import of sage.interfaces.maxima_lib: sage: import sage.interfaces.maxima_lib sage: s

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Andrey Novoseltsev
On Tuesday, 25 December 2018 13:53:07 UTC-7, Timo Kaufmann wrote: > > Am Dienstag, 25. Dezember 2018 16:32:10 UTC+1 schrieb Andrey Novoseltsev: >> >> It does not affect me personally at all, my use of R is limited to making >> it work in SageMathCell. But if there is only one instance, then I thin

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Timo Kaufmann
Am Dienstag, 25. Dezember 2018 16:32:10 UTC+1 schrieb Andrey Novoseltsev: > > On Tuesday, 25 December 2018 03:55:13 UTC-7, vdelecroix wrote: >> >> Since there is only one process, there should be a single instance of >> the R object in Sage. Isn't that a trivial fix? >> >> Disallowing multiple

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Timo Kaufmann
Am Dienstag, 25. Dezember 2018 11:55:13 UTC+1 schrieb vdelecroix: > > Le 25/12/2018 à 11:01, Timo Kaufmann a écrit : > > > > Am Dienstag, 25. Dezember 2018 00:25:40 UTC+1 schrieb William: > > > >> Just to be clear, I fully support your choice. > > > > > > Glad to hear that :) > > > >

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Andrey Novoseltsev
On Tuesday, 25 December 2018 03:55:13 UTC-7, vdelecroix wrote: > > Since there is only one process, there should be a single instance of > the R object in Sage. Isn't that a trivial fix? > > Disallowing multiple R instances might be a misfeature. But it is not > dramatic (to my mind and to the O

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Vincent Delecroix
Le 25/12/2018 à 11:01, Timo Kaufmann a écrit : Am Dienstag, 25. Dezember 2018 00:25:40 UTC+1 schrieb William: Just to be clear, I fully support your choice. Glad to hear that :) By "both should be supported, since they have complementary functionality (pros and cons to each)... Oh wel

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Timo Kaufmann
Am Dienstag, 25. Dezember 2018 00:25:40 UTC+1 schrieb William: > Just to be clear, I fully support your choice. Glad to hear that :) > By "both should be > supported, since they have complementary functionality (pros and cons > to each)... Oh well." I mean "I personally think both should

Re: [sage-devel] Single instance of R only

2018-12-24 Thread William Stein
On Mon, Dec 24, 2018 at 2:01 PM Timo Kaufmann wrote: >> >> When I last looked, I think the rpy2 interface happens entirely at the C >> library level, and there is only one process involved. > > > Yes, that is true. Working at the C level has a lot of advantages, but there > is only one process i

Re: [sage-devel] Single instance of R only

2018-12-24 Thread Timo Kaufmann
> > When I last looked, I think the rpy2 interface happens entirely at the C > library level, and there is only one process involved. > Yes, that is true. Working at the C level has a lot of advantages, but there is only one process involved. It may be possible to work around this either by in

Re: [sage-devel] Single instance of R only

2018-12-24 Thread William Stein
On Mon, Dec 24, 2018, 7:21 AM Andrey Novoseltsev 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 a

Re: [sage-devel] Single instance of R only

2018-12-24 Thread Andrey Novoseltsev
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

Re: [sage-devel] Single instance of R only

2018-12-23 Thread William Stein
On Sun, Dec 23, 2018 at 5:37 PM Andrey Novoseltsev wrote: > > This is what we had: > ┌┐ > │ SageMath version 8.4, Release Date: 2018-10-17 │ > │ Type "notebook()" for the browser-based notebook interface.