Re: [Rd] Bug report: R.home() cause package Rcpp failed executing sourceCpp, similar bug are labeled "BUG 16660" since 2016 and here I could provide a solution that tested in my laptop.

2018-12-23 Thread Dirk Eddelbuettel
The short answer, supported (if memory serves) by the R Windows FAQ, is to _not_ install in a path with spaces in the first place. Pondering why R on Windows, after all these years, still uses a path with spaces as the default choice is left as exercise to the reader. Dirk -- http://dirk.edde

[Rd] Bug report: R.home() cause package Rcpp failed executing sourceCpp, similar bug are labeled "BUG 16660" since 2016 and here I could provide a solution that tested in my laptop.

2018-12-23 Thread qweytr1
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16660 Here is the bug, which R.home may generate a path contains a whitespace. this will cause Rcpp failed executing sourceCpp > sourceCpp("b:/2018-12-14/src/18020/MCMC.cpp") Error in system(cmd, intern = !showOutput) : 'D:/Program' not found

Re: [Rd] patch to support custom HTTP headers in download.file() and url()

2018-12-23 Thread Martin Maechler
> Gábor Csárdi > on Tue, 4 Dec 2018 21:23:20 + writes: > The patch below adds support for custom HTTP headers in > download.file() and url(). > My main motivation for this is performing basic http > authentication. Some web sites do not support embedding > th

Re: [Rd] formula(model.frame(..)) is misleading

2018-12-23 Thread Martin Maechler
> William Dunlap via R-devel > on Fri, 21 Dec 2018 13:34:16 -0800 writes: > I don't have a copy of SV4 (or SV3, where model.frame was > introduced), but S+ 8.3 (based on SV4) puts the class > "model.frame" on model.frame()'s return value but has no > methods (in the de

Re: [Rd] formula(model.frame(..)) is misleading

2018-12-23 Thread Martin Maechler
> Fox, John > on Fri, 21 Dec 2018 16:16:40 + writes: > Dear Martin, > Since no one else has picked up on this, I’ll take a crack > at it: Thank you, John > The proposal is to define the S3 class of model-frame > objects as c(“model.frame”, “data.frame”) (not