Re: [Rd] withAutoprint({ .... }) ?

2016-09-27 Thread Kirill Müller
On 25.09.2016 18:29, Martin Maechler wrote: I'm now committing my version (including (somewhat incomplete) documentation, so you (all) can look at it and try / test it further. Thanks, that's awesome. Is `withAutoprint()` recursive? How about calling the new function in `example()` (instead of

Re: [Rd] withAutoprint({ .... }) ?

2016-09-27 Thread Martin Maechler
> Henrik Bengtsson > on Sun, 25 Sep 2016 12:38:27 -0700 writes: > On Sun, Sep 25, 2016 at 9:29 AM, Martin Maechler > wrote: >>> Henrik Bengtsson on >>> Sat, 24 Sep 2016

Re: [Rd] withAutoprint({ .... }) ?

2016-09-25 Thread Henrik Bengtsson
On Sun, Sep 25, 2016 at 9:29 AM, Martin Maechler wrote: >> Henrik Bengtsson >> on Sat, 24 Sep 2016 11:31:49 -0700 writes: > > > Martin, did you post your code for withAutoprint() anywhere? > > Building withAutoprint() on

Re: [Rd] withAutoprint({ .... }) ?

2016-09-25 Thread Martin Maechler
> Henrik Bengtsson > on Sat, 24 Sep 2016 11:31:49 -0700 writes: > Martin, did you post your code for withAutoprint() anywhere? > Building withAutoprint() on top of source() definitely makes sense, > unless, as Bill says, source() itself could

Re: [Rd] withAutoprint({ .... }) ?

2016-09-24 Thread Henrik Bengtsson
Martin, did you post your code for withAutoprint() anywhere? Building withAutoprint() on top of source() definitely makes sense, unless, as Bill says, source() itself could provide the same feature. To differentiate between withAutoprint({ x <- 1 }) and withAutoprint(expr) where is an expression

Re: [Rd] withAutoprint({ .... }) ?

2016-09-24 Thread Martin Maechler
> William Dunlap > on Fri, 2 Sep 2016 08:33:47 -0700 writes: > Re withAutoprint(), Splus's source() function could take a expression > (literal or not) in place of a file name or text so it could support > withAutoprint-like functionality in its GUI.

Re: [Rd] withAutoprint({ .... }) ?

2016-09-02 Thread luke-tierney
On Fri, 2 Sep 2016, Kirill Müller wrote: On 02.09.2016 14:38, Duncan Murdoch wrote: On 02/09/2016 7:56 AM, Martin Maechler wrote: On R-help, with subject '[R] source() does not include added code' Joshua Ulrich on Wed, 31 Aug 2016 10:35:01 -0500 writes:

Re: [Rd] withAutoprint({ .... }) ?

2016-09-02 Thread William Dunlap via R-devel
Re withAutoprint(), Splus's source() function could take a expression (literal or not) in place of a file name or text so it could support withAutoprint-like functionality in its GUI. E.g., > source(auto.print=TRUE, exprs.literal= { x <- 3:7 ; sum(x) ; y <- log(x) ; x - 100}, prompt="--> ") -->

Re: [Rd] withAutoprint({ .... }) ?

2016-09-02 Thread Kirill Müller
On 02.09.2016 14:38, Duncan Murdoch wrote: On 02/09/2016 7:56 AM, Martin Maechler wrote: On R-help, with subject '[R] source() does not include added code' Joshua Ulrich on Wed, 31 Aug 2016 10:35:01 -0500 writes: > I have quantstrat installed and it

Re: [Rd] withAutoprint({ .... }) ?

2016-09-02 Thread Duncan Murdoch
On 02/09/2016 7:56 AM, Martin Maechler wrote: On R-help, with subject '[R] source() does not include added code' Joshua Ulrich on Wed, 31 Aug 2016 10:35:01 -0500 writes: > I have quantstrat installed and it works fine for me. If you're > asking why

[Rd] withAutoprint({ .... }) ?

2016-09-02 Thread Martin Maechler
On R-help, with subject '[R] source() does not include added code' > Joshua Ulrich > on Wed, 31 Aug 2016 10:35:01 -0500 writes: > I have quantstrat installed and it works fine for me. If you're > asking why the output of t(tradeStats('macross'))