How to see all lines of a dataframe in Jupyter notebook with R core?

When I put a dataframe in a cell, it only shows some of the rows with "..." in the middle.

Edit . I'm looking for the R equivalents of these Python notebook calls:

import pandas
# "If max_cols is exceeded, switch to truncate view"
pandas.set_option('display.max_columns', 5400)
# "The maximum width in characters of a column"
pandas.set_option('display.max_colwidth', 500)

      

See also http://pandas.pydata.org/pandas-docs/stable/generated/pandas.set_option.html .

+3


source to share


1 answer


Thomas Kluiver says :



I think the options you want are repr.matrix.max.rows and repr.matrix.max.cols

i.e. mileage

options(repr.matrix.max.rows=600, repr.matrix.max.cols=200)

      

The default is 60 and 20.

+5


source







All Articles