Re: [R] Generic Function read?

2023-02-28 Thread John Kane
Have a look at the {rio} package. On Tue, 28 Feb 2023 at 15:00, Leonard Mada via R-help wrote: > Dear R-Users, > > I noticed that *read* is not a generic function. Although it could > benefit from the functionality available for generic functions: > > read = function(file, ...) UseMethod("read")

[R] Generic Function read?

2023-02-28 Thread Leonard Mada via R-help
Dear R-Users, I noticed that *read* is not a generic function. Although it could benefit from the functionality available for generic functions: read = function(file, ...) UseMethod("read") methods(read)  # [1] read.csv read.csv2    read.dcf read.delim read.delim2  read.DIF read.

Re: [R] Palettes {grDevices} - wrong number of colors returned?

2023-02-28 Thread Achim Zeileis
Just for the record: Duncan and Martin (Maechler) improved my proposed patch and Martin committed it to R-devel now. Thank you, Sigbert, for reporting the issue! On Thu, 23 Feb 2023, Achim Zeileis wrote: On Thu, 23 Feb 2023, Duncan Murdoch wrote: On 23/02/2023 6:09 a.m., Achim Zeileis wrote