Re: [Rd] paste(character(0), collapse="", recycle0=FALSE) should be ""

2020-05-21 Thread William Dunlap via R-devel
> 1) Bill and Hervé (I think) propose that 'recycle0' should have > no effect whenever 'collapse = ' I think that collapse= should make paste() return a single string, regardless of the value of recycle0. E.g., I would like to see > paste0("X",seq_len(3),collapse=", ", recycle0=TRUE) [1] "X1,

Re: [Rd] paste(character(0), collapse="", recycle0=FALSE) should be ""

2020-05-21 Thread Martin Maechler
> Hervé Pagès > on Fri, 15 May 2020 13:44:28 -0700 writes: > There is still the situation where **both** 'sep' and 'collapse' are > specified: >> paste(integer(0), "nth", sep="", collapse=",") > [1] "nth" > In that case 'recycle0' should **not** be ignored i.e.

Re: [Rd] Precision of function mean,bug?

2020-05-21 Thread Morgan Morgan
Sorry, posting back to the list. Thank you all. Morgan On Thu, 21 May 2020, 16:33 Henrik Bengtsson, wrote: > Hi. > > Good point and a good example. Feel free to post to the list. The purpose > of my reply wasn't to take away Peter's point but to emphasize that > base::mean() does a two-pass scan

Re: [Rd] failed check in reg-tests-1b.R

2020-05-21 Thread Martin Maechler
> Benjamin Tyner > on Tue, 19 May 2020 22:36:16 -0400 writes: > Not certain this is actually a bug, so posting here. > I'm on Ubuntu 18.04.4 LTS, building R version 4.0.0. The "configure" and > "make" steps are successful, but the "make check" step fails when it > ge

Re: [Rd] [External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"

2020-05-21 Thread Juan Telleria Ruiz de Aguirre
Got it, thank you for pointing out the solution then. Best, Juan __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"

2020-05-21 Thread luke-tierney
I looks like you may have misunderstood my post so just to make sure: There will be no patch to R to support this. If this is something you want for yourself, then I have shown you how you can do it. You can put the code in a startup file if you like. If you want your students to have this, the

[Rd] Patch proposal for bug 17770 - xtabs does not act as documented for na.action = na.pass

2020-05-21 Thread SOEIRO Thomas
Dear all, (This issue was previously reported on Bugzilla (https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17770) and discussed on Stack Overflow (https://stackoverflow.com/q/61240049).) The documentation of xtabs says: "na.action: When it is na.pass and formula has a left hand side (with

Re: [Rd] [External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"

2020-05-21 Thread Juan Telleria Ruiz de Aguirre
Thank you Mr. Tierney! Using globalCallingHandlers() to directly handle "packageConflictError" is an excellent idea! The benefits I see for such an implementation are: * The patch would be contained within the Conflict Error Handler, which should reduce any side effects with an eventual implement