Re: [Rd] Offer zip builds

2019-06-07 Thread Abby Spurdle
> Just to add to that point - it is expected that the registry is appropriately updated so the correct version of R can be located. Just unpacking a ZIP won't work in general since tools using R have no reliable way to find it. Shouldn't it be sufficient to set the "Path" system or environment var

Re: [Rd] Parallel number stream: clusterSetRNGStream

2019-06-07 Thread Henrik Bengtsson
Yes, I would think this behavior is intentionally, but obviously, I don't know for sure. Looking at the code: > parallel::clusterSetRNGStream function (cl = NULL, iseed = NULL) { cl <- defaultCluster(cl) oldseed <- if (exists(".Random.seed", envir = .GlobalEnv, inherits = FALSE))

Re: [Rd] [R] Open a file which name contains a tilde

2019-06-07 Thread Berry, Charles
> On Jun 6, 2019, at 2:04 PM, Richard O'Keefe wrote: > > How can expanding tildes anywhere but the beginning of a file name NOT be > considered a bug? > > I think that that IS what libreadline is doing if one allows a whitespace separated list of file names. As reported in R-help,

Re: [Rd] Offer zip builds

2019-06-07 Thread Simon Urbanek
Just to add to that point - it is expected that the registry is appropriately updated so the correct version of R can be located. Just unpacking a ZIP won't work in general since tools using R have no reliable way to find it. Cheers, Simon > On Jun 6, 2019, at 6:33 AM, Jeroen Ooms wrote: > >

Re: [Rd] Give update.formula() an option not to simplify or reorder the result -- request for comments

2019-06-07 Thread Martin Maechler
Trying to revive, possibly conclude a forgotten thread ... > Abby Spurdle > on Mon, 20 May 2019 14:11:47 +1200 writes: > Hi Pavel > (Back On List) > And my two cents... >> At this time, the update.formula() method always performs a number of >> transformations o

[Rd] Parallel number stream: clusterSetRNGStream

2019-06-07 Thread Colin Gillespie
Dear All, Is the following expected behaviour? set.seed(1) library(parallel) cl = makeCluster(5) clusterSetRNGStream(cl, iseed = NULL) parSapply(cl, 1:5, function(i) sample(1:10, 1)) # 7 4 2 10 10 clusterSetRNGStream(cl, iseed = NULL) # 7 4 2 10 10 parSapply(cl, 1:5, function(i) sample(1:10,

Re: [Rd] [R] Open a file which name contains a tilde

2019-06-07 Thread Richard O'Keefe
How can expanding tildes anywhere but the beginning of a file name NOT be considered a bug? On Thu, 6 Jun 2019 at 23:04, Ivan Krylov wrote: > On Wed, 5 Jun 2019 18:07:15 +0200 > Frank Schwidom wrote: > > > +> path.expand("a ~ b") > > [1] "a /home/user b" > > > How can I switch off any file cri