Is there a way to create an R presentation from the command line?
https://support.rstudio.com/hc/en-us/articles/200486468-Authoring-R-Presentations
I have the following R Presentation file stored in my_file.RPres
file.
Title
========================================================
author: Me
date: Jan 9, 2015
transition: none
css: template.css
This is my presentation.
Is there any way to specify on rmarkdown::render()
, knit()
, pandoc()
, or another R command, that this is an "R Presentation" .RPres
file, and not ioslides_presentation
, beamer_presentation
, or slidy_presentation
?
My .RPres
file does not have any YAML metadata on the header, and the .css
file was created based on the html file generated by RStudio with "Preview" and "Save As a Web page...".
I asked this question in on RStudio Support Community page, and the 'official' answer was no. A colleague looked at the code on github and verified the method is only called from the drop down UI. Looks like to do this you would have to actually compile your own wrapper.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With