Skip to content

Limit and prettify vector reprs#125

Merged
flying-sheep merged 4 commits into
masterfrom
inline-vectors
Jan 28, 2020
Merged

Limit and prettify vector reprs#125
flying-sheep merged 4 commits into
masterfrom
inline-vectors

Conversation

@flying-sheep
Copy link
Copy Markdown
Member

@flying-sheep flying-sheep commented Jan 25, 2020

Fixes #124. @randy3k, what do you say?

grafik

Also fixes #114

@randy3k
Copy link
Copy Markdown
Contributor

randy3k commented Jan 25, 2020

I would like to show only the first few elements if a vector too long. The same applies to very large data frames.

@flying-sheep
Copy link
Copy Markdown
Member Author

flying-sheep commented Jan 26, 2020

The latter is of course already the case. Did you try it?

repr/R/options.r

Lines 67 to 68 in 34da603

repr.matrix.max.rows = 60,
repr.matrix.max.cols = 20,

@randy3k
Copy link
Copy Markdown
Contributor

randy3k commented Jan 26, 2020

Indeed, the number of rows of dataframes is respected.

@flying-sheep flying-sheep changed the title Add CSS for vectors Limit and prettify vector reprs Jan 28, 2020
@flying-sheep flying-sheep merged commit 77d3973 into master Jan 28, 2020
@flying-sheep flying-sheep deleted the inline-vectors branch January 28, 2020 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve vector rich display Respect options(max.print=x)

2 participants