r-lib / rray

Simple Arrays
https://rray.r-lib.org
GNU General Public License v3.0
130 stars 12 forks source link

Options for print methods #263

Open jameslairdsmith opened 3 years ago

jameslairdsmith commented 3 years ago

Would be nice to set the default values used for printing rrays. As far as I can see, at present, printing of the first dimension is bounded only by getOption("max.print") but printing of the second dimension is not bounded at all. So if you try and inspect an rray with a very long second dimension, R tries to print it all out.

Would also be nice to have the defaults similar to those of tibbles, with whatever is needed to account for the multiple dimensions.