Skip to content
Discussion options

You must be logged in to vote

It's a bit unclear what your Quarto document looks like without having the code.

FYI, you don't need file.path if you are using here (that's the point of using here).

gtsave(tbl_msiassay_gt, here("figures", "fig_msiassay.png"))

The above only writes the image. For question regarding this function, as suggested, go to gt documentation/repository.

Now the image can be included in your Quarto document, using basic markdown syntax for figures, where you can set the dimension.


You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````).
See https://quarto.org/bug-reports.html#…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@cscheid
Comment options

@SarahJMills
Comment options

Comment options

You must be logged in to vote
2 replies
@SarahJMills
Comment options

@mcanouil
Comment options

mcanouil May 8, 2024
Collaborator

Answer selected by SarahJMills
Comment options

You must be logged in to vote
1 reply
@SarahJMills
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
tables Issues with Tables including the gt integration
4 participants