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
Not sure if this is related but ... automatic sizing seems to work fine on mac but not so much on Windows. Using webshot 0.4.1 and the Rmd below the DT table covers the full width of the page on Mac but is very small on Windows (see screenshot of the windows pdf below). Same effect occurs with other htmlwidgets (e.g., DiagrammeR and plotly)
@wch Can you suggest a workaround for widget screenshot sizing for Rmd-to-Word and/or Rmd-to-PDF on Windows? Although this works fine on Mac, the default size on Windows is so small that it isn't really usable.
The intro vignette has some code that sizes the screenshots for inclusion in an Rmd document, but it would be nice if that were not necessary.
This will require some changes to
knit_print.webshot
as well as in the knitr package.cc @yihui
The text was updated successfully, but these errors were encountered: