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:
References
- Gantt chart with R/plotly, http://yetanothermathprogrammingconsultant.blogspot.com/2017/03/gantt-chart-with-rplotly.html
No comments:
Post a Comment