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...".
knit()
,pandoc()
, andrender()
do not seem to render it"? Can you add your code please? – Deettadeeynman pandoc
in your terminal), which seemed to have a decent amount of information. Or create a default R Markdown presentation in RStudio and (possibly runoptions(verbose=TRUE)
first) observe the system commands generated in the R Markdown window that pops up after clickingKnit HTML
. – DeettadeeynFile -> New File... -> R Markdown -> Presentation -> HTML (isoslides) -> Ok
, and thenKnit HTML
. I realize this isn't the same thing as creating a presentation from a.RPres
file, but I'm guessing it might use the same underlying program(s) / process(es) to create the output file, just with different options / commandline flags. Maybe I'm wrong about that, but this is where I would start poking around given that I could not find any relevant documentation online. – Deettadeeyn