You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having some problem with the size of the md knitted generated file (basically is too large for github to display, and when I show the preview locally it takes some time and it slows down Rstudio). The reason why the file has that large is using the kableExtra package to output some table inline plotting. Specifically using spec_hist, spec_boxplot, spec_plot which basically plots the distribution of variables inside of a table.
---
title: My title
output:
github_document:
fig_width: 8
fig_height: 6
dev: png
editor_options:
chunk_output_type: console
always_allow_html: true
---
I had to add always_allow_html: true because otherwise it wouldn't preview
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am having some problem with the size of the md knitted generated file (basically is too large for github to display, and when I show the preview locally it takes some time and it slows down Rstudio). The reason why the file has that large is using the kableExtra package to output some table inline plotting. Specifically using spec_hist, spec_boxplot, spec_plot which basically plots the distribution of variables inside of a table.
I had to add
always_allow_html: true
because otherwise it wouldn't previewThis is the code I use to display the table:
Beta Was this translation helpful? Give feedback.
All reactions