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

Chunk output of data frame summary functions too cramped #75

Closed
MokeEire opened this issue Nov 17, 2022 · 2 comments
Closed

Chunk output of data frame summary functions too cramped #75

MokeEire opened this issue Nov 17, 2022 · 2 comments

Comments

@MokeEire
Copy link

When using functions like summary() or dplyr::glimpse() in a Quarto document, the output is regularly too cramped to read clearly.

Example:

summary(mtcars)

image

dplyr::glimpse(mtcars)

image

Using the width argument with glimpse() is a viable workaround but it would be much nicer if the default output fit.

@mcanouil
Copy link
Contributor

Your screenshots seems to come from an IDE and not the Quarto document itself, nor Quarto.
This should be reported on the repository of the IDE.
Also, what you are reporting is tied to knitr, and especially R. This is the default "width" option in R.
You can change it in your .Rprofile to make it "general".

@cderv
Copy link
Collaborator

cderv commented Jan 9, 2023

I confirm this is not an issue with Quarto itself. I can be solved using configuration on packages used, and maybe improve the knitr output. This will then work in Quarto.

@cderv cderv closed this as completed Jan 9, 2023
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

No branches or pull requests

3 participants