Thursday, March 30, 2017

R: plotly and R Markdown

In (1) I showed how we can produce a dynamic Gantt chart in R using the plotly package. What about if we put this in an R markdown document? If we knit the document to HTML there is no problem. We see something like:


Now the question arises what happens when I produce a PDF (through LaTeX)? Interestingly that works: we get a static picture:


Obviously we cannot run JavaScript based interaction in a PDF file. Same thing with Word output:


  1. Gantt chart with R/plotly,

No comments:

Post a Comment