[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')) isn't being printed, >

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 the output of t(tradeStats(

Re: [Rd] CRAN packages maintained by you

2016-09-02 Thread Thomas Petzoldt
Hi, I have the same problem and, at a first look, the issues reported by the CRAN checks seemed easy to fix. However, after checking it again locally and on http://win-builder.r-project.org it appeared that GCC 4.9.3 (Windows, Rtools 3.4), same also on win-builder reports even more issues, es

Re: [Rd] CRAN packages maintained by you

2016-09-02 Thread Dirk Eddelbuettel
On 2 September 2016 at 14:54, Thomas Petzoldt wrote: | Hi, | | I have the same problem and, at a first look, the issues reported by the | CRAN checks seemed easy to fix. However, after checking it again locally | and on http://win-builder.r-project.org it appeared that GCC 4.9.3 | (Windows, Rt

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 works fine for me. If you're

Re: [Rd] CRAN packages maintained by you

2016-09-02 Thread Thomas Petzoldt
Am 02.09.2016 um 16:02 schrieb Dirk Eddelbuettel: On 2 September 2016 at 14:54, Thomas Petzoldt wrote: | Hi, | | I have the same problem and, at a first look, the issues reported by the | CRAN checks seemed easy to fix. However, after checking it again locally | and on http://win-builder.r-proje

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="--> ") --> x

[Rd] Coercion of 'exclude' in function 'factor' (was 'droplevels' inappropriate change)

2016-09-02 Thread Suharto Anggono Suharto Anggono via R-devel
I am basically fine with the change. How about using just the following? if(!is.character(exclude)) exclude <- as.vector(exclude, typeof(x)) # may result in NA x <- as.character(x) It looks simpler and is, more or less, equivalent. In factor.Rd, in description of argument 'exclud

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: > I have quantstrat inst

[Rd] WISH: Export utils:::findMatches()

2016-09-02 Thread Henrik Bengtsson
WISH: I'd like make a plea for utils:::findMatches() to be exported such that anyone can do: .DollarNames.MyClass <- function(x, pattern="") { utils:::findMatches(pattern, names(x)) } The utils:::findMatches() is agile to the "fuzzy" options, cf. .DollarNames. It also doesn't erase what's be