Re: [Rd] load.R patch suggestion

2011-09-28 Thread Martin Maechler
Ben Bolker bbol...@gmail.com on Thu, 15 Sep 2011 11:03:26 +0200 writes: Inspired by http://stackoverflow.com/questions/7487778/could-you-tell-me-what-this-error-means I wrote the following very small (one-line) patch which returns an *informative* error message when R

[Rd] load.R patch suggestion

2011-09-20 Thread Ben Bolker
Inspired by http://stackoverflow.com/questions/7487778/could-you-tell-me-what-this-error-means I wrote the following very small (one-line) patch which returns an *informative* error message when R tries to load a zero-byte file rather than Error in if (!grepl(RD[AX]2\n, magic)) { : argument is