[Rd] Small bug in the documentation of `[.data.frame`

Rui Barradas ru|pb@rr@d@@ @end|ng |rom @@po@pt
Tue Dec 29 14:29:26 CET 2020


Hello,

R 4.0.3 on Ubuntu 20.10, session info at end.

Isn't the default value of argument drop missing in

?`[.data.frame`

Usage:

      ## S3 method for class 'data.frame'
      x[i, j, drop = ]


I had the impression that it was TRUE (it is when running the function, 
I'm talking about the docs).



sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.1 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0

locale:
  [1] LC_CTYPE=pt_PT.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=pt_PT.UTF-8        LC_COLLATE=pt_PT.UTF-8
  [5] LC_MONETARY=pt_PT.UTF-8    LC_MESSAGES=pt_PT.UTF-8
  [7] LC_PAPER=pt_PT.UTF-8       LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=pt_PT.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_4.0.3 tools_4.0.3


Happy holidays,

Rui Barradas



More information about the R-devel mailing list