stat231-s23 / blog2-shiny-wizards

Andrew Ni, Shawn Rapal
https://stat231-s23.github.io/blog2-shiny-wizards/
0 stars 0 forks source link

marlinwc.html? #2

Open katcorr opened 1 year ago

katcorr commented 1 year ago

@shawra - I didn't have time to get back to this after class yesterday, but wanted to try one more thing this morning. Can you re-save the marlin wordcloud (as a named object, e.g., marlicwc) and then run this code:

saveWidget(marlinwc, "marlinwc.html", selfcontained = F)

and push the resulting "marlinwc.html" file to GitHub? I could see the one you created yesterday and pushed to GitHub, but I don't see it anymore (and I cannot get it to create the marlin wordcloud2 in my RStudio environment). I want to try one more potential solution to include that html file. Thanks!

shawra commented 1 year ago

Just did that, Professor. Thanks for trying to solve this.

katcorr commented 1 year ago

Thanks! Strange, I can only see a blue box when I open marlicwc.html now. I don't know what's going on, but it seems like there is a known bug with word clouds from the wordcloud2 package printing to html and pdf that hasn't been fixed. So, just stick with the static images. The ones for Dory, Gill, and Peach look awesome -- these are still really fun! 😃