Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repr.matrix.max.cols = .Machine$integer.max causes bad error #170

Open
MichaelChirico opened this issue Sep 23, 2024 · 0 comments · May be fixed by #171
Open

repr.matrix.max.cols = .Machine$integer.max causes bad error #170

MichaelChirico opened this issue Sep 23, 2024 · 0 comments · May be fixed by #171

Comments

@MichaelChirico
Copy link

For some reason I tricked myself into thinking options(repr.matrix.max.cols=Inf) didn't work, and I tried options(repr.matrix.max.cols=.Machine$integer.max) instead, this causes the following error when showing any object:

# Warning message in cols + 1L:
# “NAs produced by integer overflow”
# ERROR while rich displaying an object: Error in rep("---", out_cols): invalid 'times' argument

Probably we should just interpret .Machine$integer.max to be Inf and be done with it :)

@MichaelChirico MichaelChirico linked a pull request Sep 23, 2024 that will close this issue
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 a pull request may close this issue.

1 participant