Open Sven-Winter opened 1 year ago
According to my experience, I found that as long as I modify the PNG parameter in the corresponding R script is SVG or PDF. @Sven-Winter
@Jwindler @Sven-Winter you're talking about this line right?
(Based on Hadley Wickham (2016) 'UseR!', 2nd edition, pp.185. Springer.)
ye @lonelyjoeparker
@Jwindler @Sven-Winter I forked/fixed/tested this quickly and created a pull request. Please feel free to test, report findings back here, and upvote to @tpoorten if you find useful thanks :grinning:
Hi,
I managed to generate html and png plots. However, I always receive the following error:
Error in htmlwidgets::saveWidget(as.widget(gply), file = paste0(opt$output_filename, : Saving a widget with selfcontained = TRUE requires pandoc. For details see: https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
I installed pandoc but the error remains.
Is there a way to generate a SVG file? Would be nice to save a SVG directly from the interactive plot instead of only png.
Thanks!