[Rd] sink(con, type = "message"): what is the reason why 'message' sinks cannot be stacked?

2018-03-20 Thread Henrik Bengtsson
In ?sink we can read: "Sink-ing the messages stream should be done only with great care. For that stream file must be an already open connection, and there is no stack of connections." and: "Do not sink the messages stream unless you understand the source code implementing it and hence the p

[Rd] WISH: Sys.setlocale() to return value invisibly

2018-03-20 Thread Henrik Bengtsson
Contrary to, say, Sys.setenv(), Sys.setlocale() returns it's value visibly. This means that if you for instance add: Sys.setlocale("LC_COLLATE", "C") to your .Rprofile file, it will print: [1] "C" at startup. The workaround is to wrap the call in invisible(), but I'd argue that any "setter" fu

[Rd] R 3.5.0 scheduled for April 23

2018-03-20 Thread Peter Dalgaard via R-devel
Full schedule available on developer.r-project.org (pending auto-update from SVN) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __

Re: [Rd] trivial typo in man/pretty.Rd

2018-03-20 Thread Martin Maechler
> Ben Bolker > on Mon, 19 Mar 2018 11:57:34 -0400 writes: > patch against recent SVN ... > as far as I can tell this trivial typo has been there for 20 years: > https://github.com/wch/r-source/blame/ba7920a99fb2fb62b89e404e65f8b132ed4c150a/src/library/base/man/pretty.Rd