(This article was first published on Learning Slowly » R, and kindly contributed to R-bloggers)
I’ve been working on the ggRandomForests vignettes pretty consistently now. I’m writing the randomForestSRC-Survivalvignette in LaTeX with the knitr vignette engine. I wrote the the randomForestSRC-Regression vignette in markdown.
I’ve decided to upload the Regression vignette to arXiv for additional distribution. The arXiv submission process prefers LaTeX files, and since RMarkdown can compile to pdf, using pandocthrough a LaTeX document, I was hoping for a simple way to go from Markdown to LaTeX. My idea was to generate the LaTeX source, and do a few cleanup edits before submitting.
I tried a few things, Rstudio tends to remove the intermediate tex file after compile. So I went to the rmarkdown::render command. The intermediate files were still removed.