Re: [Rd] R Bug: write.table for matrix of more than 2, 147, 483, 648 elements

2018-04-19 Thread Tomas Kalibera
On 04/19/2018 02:06 AM, Duncan Murdoch wrote: On 18/04/2018 5:08 PM, Tousey, Colton wrote: Hello, I want to report a bug in R that is limiting my capabilities to export a matrix with write.csv or write.table with over 2,147,483,648 elements (C's int limit). I found this bug already reported a

Re: [Rd] odd assignInNamespace / setGeneric interaction

2018-04-19 Thread Martin Maechler
> Michael Lawrence > on Wed, 18 Apr 2018 14:16:37 -0700 writes: > Hi Bill, > Ideally, your coworker would just make an alias (or shortcut or > whatever) for R that passed --no-save to R. I'll try to look into this > though. > Michael Yes, indeed! As some of you

Re: [Rd] R Bug: write.table for matrix of more than 2, 147, 483, 648 elements

2018-04-19 Thread Serguei Sokol
Le 19/04/2018 à 09:30, Tomas Kalibera a écrit : On 04/19/2018 02:06 AM, Duncan Murdoch wrote: On 18/04/2018 5:08 PM, Tousey, Colton wrote: Hello, I want to report a bug in R that is limiting my capabilities to export a matrix with write.csv or write.table with over 2,147,483,648 elements (C'

Re: [Rd] R Bug: write.table for matrix of more than 2, 147, 483, 648 elements

2018-04-19 Thread Tomas Kalibera
On 04/19/2018 11:47 AM, Serguei Sokol wrote: Le 19/04/2018 à 09:30, Tomas Kalibera a écrit : On 04/19/2018 02:06 AM, Duncan Murdoch wrote: On 18/04/2018 5:08 PM, Tousey, Colton wrote: Hello, I want to report a bug in R that is limiting my capabilities to export a matrix with write.csv or wri

Re: [Rd] R Bug: write.table for matrix of more than 2, 147, 483, 648 elements

2018-04-19 Thread Serguei Sokol
Le 19/04/2018 à 12:15, Tomas Kalibera a écrit : On 04/19/2018 11:47 AM, Serguei Sokol wrote: replace     tmp = EncodeElement2(x, i + j*nr, quote_col[j], qmethod,                     &strBuf, sdec); by     tmp = EncodeElement2(VECTOR_ELT(x, (R_xlen_t)i + j*nr), 0, quote_col[j], qmethod,    

[Rd] Spam to R-* list posters

2018-04-19 Thread Martin Maechler
> Serguei Sokol > on Thu, 19 Apr 2018 13:29:54 +0200 writes: [...] > Thanks Tomas for this detailed explanation. > I would like also to signal a problem with the list. It must be > corrupted in some way because beside the Tomas'  response I've got five

Re: [Rd] odd assignInNamespace / setGeneric interaction

2018-04-19 Thread William Dunlap via R-devel
The problem is not specific to redefining the q function, but to the interaction of assignInNamespace and setGeneric. The latter requires, roughtly, that the environment of the function being replaced by an S4 generic is (or is the descendent of) the environment in which it lives. E.g., the follo

Re: [Rd] Spam to R-* list posters

2018-04-19 Thread Spencer Graves
On 2018-04-19 09:40, Martin Maechler wrote: Serguei Sokol on Thu, 19 Apr 2018 13:29:54 +0200 writes: [...] > Thanks Tomas for this detailed explanation. > I would like also to signal a problem with the list. It must be > corrupted in some way because beside

Re: [Rd] odd assignInNamespace / setGeneric interaction

2018-04-19 Thread Michael Lawrence
To clarify, I am going to fix the issue in the methods package (actually I already have but need to test further). There's no intent to change the behavior of q(). On Thu, Apr 19, 2018 at 8:39 AM, William Dunlap wrote: > The problem is not specific to redefining the q function, but to > the inter