draft {jds.rmd} | R Documentation |
Creat A Draft of JDS Article
Description
Create a JDS article draft using the specified LaTeX class file. This function is a simplified version of 'rmarkdown::draft()' for creating a JDS article draft only.
Usage
draft(file, cls = c("jdsart", "jds"))
Arguments
file |
A character string for the file name of the draft. Different
with |
cls |
The LaTeX class name. The available choices are |
Value
The file name of the new document (invisibly).
Examples
if (interactive() && requireNamespace("rmarkdown", quietly = TRUE)) {
## draft from a sample R markdown file
jds.rmd::draft("jds-sample.Rmd")
## produce pdf with the tex source kept for submission
rmarkdown::render("jds-sample.Rmd")
}
[Package jds.rmd version 0.3.3 Index]