Re: [Rd] Regression in strptime

2016-03-15 Thread Mick Jordan
On 3/15/16 3:52 AM, Martin Maechler wrote: peter dalgaard on Sat, 12 Mar 2016 19:11:40 +0100 writes: > OK, .Internal is not necessary to reproduce oddity in this area. I also see things like (notice 1980) >> strptime(paste0(sample(1900:1999,80,replace=TRUE),"/01/01"), "%Y/%m/%d"

Re: [Rd] [FORGED] Different results based on the order of arguments to par

2016-03-15 Thread Greg Snow
Paul, I am fine with not changing the par function, mainly mentioned it as a possibility in case someone else saw additional pitfalls, but nobody else has chimed in. What are your thoughts on adding an additional note to the help for par? it could make it more clear to call things like par(plt=

Re: [Rd] [FORGED] Different results based on the order of arguments to par

2016-03-15 Thread Paul Murrell
Hi The main issue here is that the 'graphics' package has no real concept of going back to a previous plot (the 'grid' package has explicit support for that sort of thing). In 'graphics' you can only go forwards to the next plot; you can fake going back by creating a new plot that is like a

Re: [Rd] Regression in strptime

2016-03-15 Thread peter dalgaard
> On 15 Mar 2016, at 11:52 , Martin Maechler wrote: > > > o R version 3.3.0 (Supposedly Educational) prerelease versions will appear > starting Monday 2016-03-14. Final release is scheduled for Thursday > 2016-04-14. Oops, that's actually incorrect. It's R-3.2.4-patched for a couple more da

Re: [Rd] [FORGED] Different results based on the order of arguments to par

2016-03-15 Thread Greg Snow
Paul, I was trying to make a minimal self contained example, but I guess I went too far on the minimizing. The original problem came from code more like: library(TeachingDemos) hist(rexp(1000), main='') abline( v=1, col='red') sp.par <- subplot(hist(rnorm(100), main=''), x='topright') op <- p

Re: [Rd] Help with libiconv problem

2016-03-15 Thread Lukas Stadler
> On 15 Mar 2016, at 0:04, Mick Jordan wrote: > > On 3/14/16 1:49 PM, Mick Jordan wrote: >> A couple of my colleagues are having problems building R-3.2.4 on Mac OS X >> El Capitan somehow related to libiconv. I personally don't have any problems >> on either of my Macs. I'm hoping thie make l

Re: [Rd] Regression in strptime

2016-03-15 Thread Lukas Stadler
Hi! Some context for the tests Mick mentioned: Our tests, which are part of the open-source FastR repository, consist of small executable R snippets. While working on FastR, we test regularly by comparing the output generated when running them on FastR and GNUR. Every difference hints at a probl

Re: [Rd] Regression in strptime

2016-03-15 Thread Martin Maechler
> peter dalgaard > on Sat, 12 Mar 2016 19:11:40 +0100 writes: > OK, .Internal is not necessary to reproduce oddity in this area. I also see things like (notice 1980) >> strptime(paste0(sample(1900:1999,80,replace=TRUE),"/01/01"), "%Y/%m/%d", tz="CET") ...