[Rd] Possible bug, max argument in print.default(), on R-3.5.1-patched

Gábor Csárdi c@@rdi@g@bor @ending from gm@il@com
Sat Sep 22 23:46:13 CEST 2018


The max argument of print.default() does not override
options(max.print), see below.
R 3.5.1 and  R-devel both seem good.

Gábor

> options(max.print = 1)
> print(data.frame(a=1:10))
  a
1 1
 [ reached 'max' / getOption("max.print") -- omitted 9 rows ]
> print(data.frame(a=1:10), max  = 100)
    a
1   1
 [ reached getOption("max.print") -- omitted 9 rows ]
> options(max.print = 1000)
> R.version
               _
platform       x86_64-w64-mingw32
arch           x86_64
os             mingw32
system         x86_64, mingw32
status         Patched
major          3
minor          5.1
year           2018
month          09
day            11
svn rev        75286
language       R
version.string R version 3.5.1 Patched (2018-09-11 r75286)
nickname       Feather Spray
>



More information about the R-devel mailing list