I concur with what others have said, use a RMarkdown file and create both HTML to present in class/on the web and a PDF for those that want to print a hard copy. You can also look into the bookdown package
Here are some of my examples of lecture notes using bookdown https://norcalbiostat.github.io/AppliedStatistics_notes/ and individual assignments that are available as HTML and pdf. https://norcalbiostat.github.io/MATH130/notes/07_factors.html -Robin -----Original Message----- From: R-sig-teaching <[email protected]> On Behalf Of Manuel Spínola Sent: Tuesday, December 17, 2019 8:09 AM To: [email protected] Subject: [R-sig-teaching] Making teaching material, html, pdf or powerpoint I am planning to make teaching material for data analysis in R. I am trying to decide which output will be better. Html, pdf or powepoint. I found that flexdashboard could have the potential to make the material in html output which could include interactive graphs and tables. Any insight on this? Best, -- *Manuel Spínola, Ph.D.* Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA [email protected] <[email protected]> [email protected] Teléfono: (506) 8706 - 4662 Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> [[alternative HTML version deleted]] _______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-teaching _______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
