Re: [Rd] [New Patch] Fix disk corruption when writing

2017-07-06 Thread Serguei Sokol
I propose the following patch against the current R-devel/src/main/connection.c (cf. attached file). It gives (on my linux box): > fc=file("/dev/full", "w") > write.csv("a", file=fc) Error in writeLines(paste(col.names, collapse = sep), file, sep = eol) : system call failure on writing > close(

[Rd] [Bug Fix] Default values not applied to ... arguments

2017-07-06 Thread Sahil Kang
Hi Duncan, Martin Here's a small patch that fixes bug 15199 reported at: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15199 I was able to reproduce the bug as Duncan had outlined just fine, but I did notice that when we debug(f), the problem went away. I later realized that f(1,,3) beha

Re: [Rd] [Bug Fix] Default values not applied to ... arguments

2017-07-06 Thread Tomas Kalibera
Thanks for the report, I've fixed 15199 in the AST interpreter in 72664, I will fix it in the byte-code interpreter as well. If you ever needed to disable the JIT, there is API for that, see ?compiler. Note though that by disabling the JIT you won't disable the byte-code interpreter, because c

Re: [Rd] [New Patch] Fix disk corruption when writing

2017-07-06 Thread Duncan Murdoch
On 06/07/2017 5:21 AM, Serguei Sokol wrote: I propose the following patch against the current R-devel/src/main/connection.c (cf. attached file). It gives (on my linux box): > fc=file("/dev/full", "w") > write.csv("a", file=fc) Error in writeLines(paste(col.names, collapse = sep), file, sep = e

[Rd] attributes on symbols

2017-07-06 Thread William Dunlap via R-devel
The multcomp package has code in multcomp:::expression2coef that attaches the 'coef' attribute to symbols. Since there is only one symbol object in a session with a given name, this means that this attaching has a global effect. Should this be quietly allowed or should there be a warning or an er

[Rd] make check-recommended hanging on up-to-date Rdevel from SVN

2017-07-06 Thread Gabriel Becker
Hi all, I'm getting an issue with Rdevel where make check-recommended hangs consistently for me on Mac El Capitan when checking the Matrix package. I did svn update and tools/rsync_recommended earlier today and it didn't fix the issue. Specifically, it is hanging on the * checking dependencies i

Re: [Rd] [New Patch] Fix disk corruption when writing

2017-07-06 Thread Sokol Serguei
Duncan Murdoch has written at Thu, 6 Jul 2017 13:58:10 -0400 On 06/07/2017 5:21 AM, Serguei Sokol wrote: I propose the following patch against the current R-devel/src/main/connection.c (cf. attached file). It gives (on my linux box): > fc=file("/dev/full", "w") > write.csv("a", file=fc) Erro

Re: [Rd] [New Patch] Fix disk corruption when writing

2017-07-06 Thread Duncan Murdoch
On 06/07/2017 6:44 PM, Sokol Serguei wrote: Duncan Murdoch has written at Thu, 6 Jul 2017 13:58:10 -0400 On 06/07/2017 5:21 AM, Serguei Sokol wrote: I propose the following patch against the current R-devel/src/main/connection.c (cf. attached file). It gives (on my linux box): > fc=file("/dev