I am using a Jupyter notebook with an R kernel. When I print rectangular data, e.g., a matrix, it only shows me the first 10 and last 10 columns:
The same thing happens for data.frames, or any other object that is printed in an HTML table.
How do I change this setting?
Figured it out. You can set these in options():
options(repr.matrix.max.cols=50, repr.matrix.max.rows=100)
They default to cols=20 and rows=60.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With