dygraphs
dygraphs copied to clipboard
Dygraphs in loop in RMarkdown
Hi,
I am not able to produce dygraphs in for loop inside RMarkdown document, seems like an issue (Similar: http://stackoverflow.com/questions/30509866/for-loop-over-dygraph-does-not-work-in-r/31117554#31117554)
Kindly look into it and thanks for this package.
Yes, this is a limitation of htmlwidgets (upon which dygraphs is based). We have a PR in htmlwidgets pending that should address this issue: https://github.com/ramnathv/htmlwidgets/pull/110
On Mon, Jun 29, 2015 at 4:16 PM, gunjanthesystem [email protected] wrote:
Hi,
I am not able to produce dygraphs in for loop inside RMarkdown document, seems like an issue (Similar: http://stackoverflow.com/questions/30509866/for-loop-over-dygraph-does-not-work-in-r/31117554#31117554)
Kindly look into it and thanks for this package.
— Reply to this email directly or view it on GitHub https://github.com/rstudio/dygraphs/issues/64.
Is this the same reason that zero plots are displayed when I "Source" some linear code in which there are a number of Dygraph plots created?
You need source with echo = TRUE in order for the dygraphs to be printed during the source.
On Mon, Jun 29, 2015 at 10:43 AM, JJ Allaire [email protected] wrote:
Yes, this is a limitation of htmlwidgets (upon which dygraphs is based). We have a PR in htmlwidgets pending that should address this issue: https://github.com/ramnathv/htmlwidgets/pull/110
On Mon, Jun 29, 2015 at 4:16 PM, gunjanthesystem <[email protected]
wrote:
Hi,
I am not able to produce dygraphs in for loop inside RMarkdown document, seems like an issue (Similar: http://stackoverflow.com/questions/30509866/for-loop-over-dygraph-does-not-work-in-r/31117554#31117554)
Kindly look into it and thanks for this package.
— Reply to this email directly or view it on GitHub https://github.com/rstudio/dygraphs/issues/64.
I have posted an answer to your question on SO: http://stackoverflow.com/a/35235069/559676