Re: [Rd] Bug when calling system/system2 (and request for Bugzilla account)

2018-09-18 Thread Martin Maechler
> Emil Bodeon Fri, 14 Sep 2018 13:04:29 + writes: > I found some strange behaviour, which I think is a bug. > Could someone make an account for me on Bugzilla or > pass on my report? I did create a bugzilla account for you (you should've got the automatic e-mail in the me

Re: [Rd] diag(-1) produces weird result

2018-09-18 Thread peter dalgaard
Yes, both are rooted in age-old design infelicities (in which, basically, interactive expedience has taken precedence over consistency and generality). Unfortunately, they are quite difficult to rectify, because there are bound to be countless uses of, say, diag(5) as a 5x5 identity matrix whic

Re: [Rd] diag(-1) produces weird result

2018-09-18 Thread Gábor Csárdi
Some languages that recognized early design mistakes introduced a strict mode, which applies to a local context, and enforces a safer, more consistent API. This is a pragmatic solution, as it does not require any changes to existing code, but still allows writing better code in the future. Impleme

[Rd] memory footprint of readRDS()

2018-09-18 Thread Joris Meys
Dear all, I tried to read in a 3.8Gb RDS file on a computer with 16Gb available memory. To my astonishment, the memory footprint of R rises quickly to over 13Gb and the attempt ends with an error that says "cannot allocate vector of size 5.8Gb". I would expect that 3 times the memory would be eno

Re: [Rd] memory footprint of readRDS()

2018-09-18 Thread Brian G. Peterson
Your RDS file is likely compressed, and could have compression of 10x or more depending on the composition of the data that is in it and the compression method used. 'gzip' compression is used by default. -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock On Tue,

Re: [Rd] memory footprint of readRDS()

2018-09-18 Thread William Dunlap via R-devel
The ratio of object size to rds file size depends on the object. Some variation is due to how header information is stored in memory and in the file but I suspect most is due to how compression works (e.g., a vector of repeated values can be compressed into a smaller file than a bunch of random by

Re: [Rd] memory footprint of readRDS()

2018-09-18 Thread Joris Meys
Thx William and Brian for your swift responses, very insightful. I'll have to hunt for more memory. Cheers Joris On Tue, Sep 18, 2018 at 6:16 PM William Dunlap wrote: > The ratio of object size to rds file size depends on the object. Some > variation is due to how header information is stored

[Rd] Suggested Patch: Adding commas to list of packages after R CMD check

2018-09-18 Thread Marcel Ramos
Dear R-devs, Scenario: When checking a package via `R CMD check package_tar.ball`, required / suggested packages may be missing. R subsequently returns a list of packages that are missing (delimited by spaces). Example: ``` R CMD check glmSparseNet_0.99.13.tar.gz * using log directory '/home

Re: [Rd] Suggested Patch: Adding commas to list of packages after R CMD check

2018-09-18 Thread Duncan Murdoch
On 18/09/2018 2:16 PM, Marcel Ramos wrote: Dear R-devs, Scenario: When checking a package via `R CMD check package_tar.ball`, required / suggested packages may be missing. R subsequently returns a list of packages that are missing (delimited by spaces). Example: ``` R CMD check glmSparseNe

Re: [Rd] [FORGED] Possible bug with chromatic adaptation in grDevices::convertColor

2018-09-18 Thread Paul Murrell
Thanks for the report (and the bug report). I need to make time to have a closer look at this. Paul On 14/09/18 14:03, brodie gaslam via R-devel wrote: It appears that the chromatic adaptation feature of `grDevices::convertColor`is broken, and likely has been for many years.  While a little