Skip to content
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

在Rmarkdown中不能使用 #33

Open
zigner-song opened this issue Jul 14, 2018 · 0 comments
Open

在Rmarkdown中不能使用 #33

zigner-song opened this issue Jul 14, 2018 · 0 comments

Comments

@zigner-song
Copy link

能否考虑用一个只返回静态图片的功能?
参考一下在Rmardown里添加wordcloud2结果的方法

https://stackoverflow.com/questions/46105141/how-to-render-output-of-wordcloud2-in-rmarkdown

    library(htmlwidgets)
    install.packages("webshot")
    webshot::install_phantomjs()
    library(wordcloud2)
    hw = wordcloud2(demoFreq,size = 3)
    saveWidget(hw,"1.html",selfcontained = F)
    webshot::webshot("1.html","1.png",vwidth = 700, vheight = 500, delay =10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant