Skip to content

ignore options(max.print)? #194

@t-kalinowski

Description

@t-kalinowski

Would it be possible to have the tibbles print method ignore the "main" max.print option, and only respect the tibble specific options?

  options(max.print = 100)
  options(tibble.print_max = 50, tibble.print_min = 30)
data_frame(x = 1:60, y = x, z = x, xyz = x)

gives

# A tibble: 60 × 4
       x     y     z   xyz
   <int> <int> <int> <int>
1      1     1     1     1
2      2     2     2     2
3      3     3     3     3
4      4     4     4     4
5      5     5     5     5
6      6     6     6     6
7      7     7     7     7
8      8     8     8     8
9      9     9     9     9
10    10    10    10    10
11    11    11    11    11
12    12    12    12    12
13    13    13    13    13
14    14    14    14    14
15    15    15    15    15
16    16    16    16    16
17    17    17    17    17
18    18    18    18    18
19    19    19    19    19
20    20    20    20    20
21    21    21    21    21
22    22    22    22    22
23    23    23    23    23
24    24    24    24    24
 [ reached getOption("max.print") -- omitted 6 rows ]
# ... with 30 more rows

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions