-
Notifications
You must be signed in to change notification settings - Fork 107
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
Wordcloud failing in Rmarkdown tabsets #65
Comments
Happens the same here. If I use two wordclouds in an rmd knitted to HTML, only the first one is shown. |
Same here. |
here I have a alternative solution. Use the following function.
when in markdown file, insert a chunk like this:
then in your markdown file, the figure will finally show up. |
Hi @samuelhuerga, I found a way to slove my problem. Just install my fork by The following test code
will give the result: I don't know why it works, as I just update the May this can be helpful. |
Thanks Gao! I found that your solution (using your fork) worked for me in a 'standard' RMarkdown document, but not when used with tabset within flexdashboard. Here's a repo I quickly created producing the example: https://github.com/martinctc/wordcloud2-test Any idea if this is more an issue with flexdashboard perhaps? |
I just used @gaospecial 's version and it rendered both my wordcloud2s while using flexdashboard. Belows my session information
|
thank you @gaospecial ! I wonder what is causing the issue. Outdated package installing via "wordcloud2" directly? |
Thanks, @gaospecial I have had this problem for years! Does anyone know why lettercloud() doesn't work? |
May be the backend wordcloud javascript has bug, as its version is very low. |
A bit old, but for @martinctc: something that got all of the wordclouds to show up for me was appending |
Hello,
I am facing what seems like a bug while using the worcloud2 package with Rmarkdown : displaying one or multiple workclouds on the same page works fine, as long as I do not make use of tabs (namely tabsetPanel from Shiny). Specifically any wordcloud that's not on the first tab will not be shown.
Here is a reproducible Rmd example (without header formatting, but I also attached the Rmd version to this issue) :
title: "Wordcloud tabset error in Rmd"
output: html_document
wordcloud_tabset_error.zip
Upon knitting, the first wordcloud is showing, but not the second one...
Any idea why that might be? Thanks in advance for any help on the matter, and thanks for all the amazing work on this package.
PS : I installed the latest package version from Github, not the one on CRAN
The text was updated successfully, but these errors were encountered: