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. E.g., >> source(

Re: [Rd] Undocumented 'use.names' argument to c()

2016-09-24 Thread Martin Maechler
> Karl Millar via R-devel > on Fri, 23 Sep 2016 11:12:49 -0700 writes: > I'd expect that a lot of the performance overhead could be eliminated > by simply improving the underlying code. IMHO, we should ignore it in > deciding the API that we want here. I agree partially.

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