AnsweredAssumed Answered

Knitr and Plotly HTML in Canvas Pages

Question asked by Tasha Biesinger on Apr 18, 2019
Latest reply on Apr 20, 2019 by Tasha Biesinger

Hello wonderful Canvas Community! One of our faculty just asked this question and I'm hoping someone out there has a good answer:

 

I would like a smoother way to create pages using knitr in R, especially pages containing plotly graphs. What I'm doing now is knitting to HTML, then copying the resulting HTML into Canvas's HTML editor. This is clunky. Stuff doesn't translate right, and my graphs tend to disappear.

 

I was able to make more progress using the rcanvas package (https://github.com/daranzolin/rcanvas), but I still haven't found a streamlined way to get Canvas to accept a knitr-created html page with equations and figures.

Outcomes