-
Notifications
You must be signed in to change notification settings - Fork 20
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
Code and output messed up in R Markdown after rgl plot #302
Comments
A workaround if you want
to this:
Another workaround is to use chunk option
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the chunk option has
collapse = TRUE
and any htmlwidget (including one from rgl) is displayed there, then code and output following the widget will not be formatted properly.Problematically, the
rmarkdown::html_vignette
template defaults tocollapse = TRUE
.This is a
knitr
issue, fixed in yihui/knitr#2212. That fix is included inknitr
version 1.42.3, currently only on Github. You can install it withThe text was updated successfully, but these errors were encountered: