Re: [Rd] surprised matrix (1:256, 8, 8) doesn't cause error/warning

2021-02-01 Thread /əˈbi/
ruct a matrix with extra data, and then discard part of it. And even if there was, then why not allow an arbitrarily longer length? On Mon, Feb 1, 2021 at 10:08 PM Martin Maechler wrote: > > >>>>> Abby Spurdle (/əˈbi/) > >>>>> on Mon, 1 F

[Rd] surprised matrix (1:256, 8, 8) doesn't cause error/warning

2021-01-31 Thread /əˈbi/
I'm a little surprised that the following doesn't trigger an error or a warning. matrix (1:256, 8, 8) The help file says that the main argument is recycled, if it's too short. But doesn't say what happens if it's too long. __ R-devel@r-project.org

Re: [Rd] Allowing S3 methods of rounding functions to take `...`

2021-01-31 Thread /əˈbi/
#correction to first line x <- matrix (1:64, 8, 8) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Allowing S3 methods of rounding functions to take `...`

2021-01-31 Thread /əˈbi/
I've used S4 objects but with mostly S3 methods. Currently, with two different versions. (One extending a general purpose ObjectArray object, and the other with partitioning information). Sample below. However, I'd really like to get back the suggestion(s) of adding "dots" to the S3 methods. I