Skip to content
Prev 57757 / 63421 Next

class(<matrix>) |--> c("matrix", "arrary") -- and S3 dispatch

On 21 November 2019 at 17:57, Martin Maechler wrote:
| (if you use a version of R-devel, with svn rev >= 77446; which
|  you may get as a binary for Windows in about one day; everyone
|  else needs to compile for the sources .. or wait a bit, maybe
|  also not much longer than one day, for a docker image) :

FYI: rocker/drd [1] and rocker/r-devel both have rev 77455 now (as they are
both on weekend auto-rebuild schedule).  The former is smaller, both should
work to test this. Quick demo below [2].

Dirk

[1] This comes from 'drd == daily r-devel' but we do not build it daily.
[2] Quick demo follows

edd at rob:~$ docker run --rm -ti rocker/r-devel bash
root at a30e4a5c89ba:/# RD

R Under development (unstable) (2019-11-23 r77455) -- "Unsuffered Consequences"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
[1] "matrix" "array"

  
    

Thread (24 messages)

Martin Maechler head.matrix can return 1000s of columns -- limit to n or add new argument? Nov 1 Gabriel Becker head.matrix can return 1000s of columns -- limit to n or add new argument? Nov 2 Gabriel Becker head.matrix can return 1000s of columns -- limit to n or add new argument? Nov 2 Martin Maechler class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 10 Bryan Hanson class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 10 Duncan Murdoch class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 10 Martin Maechler class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 11 Hervé Pagès class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 11 Abby Spurdle class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 12 Hervé Pagès class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 12 Abby Spurdle class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 12 Hervé Pagès class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 13 Hadley Wickham class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 14 Hervé Pagès class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 14 Martin Maechler class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 15 Martin Maechler _R_CHECK_LENGTH_1_LOGIC2_ setting and Rstudio .. Nov 15 Henrik Bengtsson _R_CHECK_LENGTH_1_LOGIC2_ setting and Rstudio .. Nov 15 Abby Spurdle class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 15 William Dunlap class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 15 Dénes Tóth class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."] Nov 15 Martin Maechler class(<matrix>) |--> c("matrix", "arrary") -- and S3 dispatch Nov 21 Dirk Eddelbuettel class(<matrix>) |--> c("matrix", "arrary") -- and S3 dispatch Nov 25 Jan Gorecki class(<matrix>) |--> c("matrix", "arrary") -- and S3 dispatch Nov 25 Martin Maechler head.matrix can return 1000s of columns .. Nov 28