I have a rather stupid simple question but my Google searching has come up empty: I have some Rmarkdown files on a shiny server which I've compiled into .html
. How do I tell shiny server to not render the .Rmd
files into .html
?
So, if I have something like this in my directory, I want shiny server to use the .html
file directly.
index.html # use this
index.Rmd # Oh, index.html already exists. Don't recompile index.Rmd
For now, I've gone ahead and just placed the .Rmd
files in a subdirectory so the server only sees the .html
files when it's in the main directory but I'm wondering if there's a simpler way.
Sorry, yeah. We pick up any /\.rmd$/i
file as the file you really wanted to show your users. You'd have to give it another extension (index.rmd.notreally
or index.rmark
) to get around that. Or put it in a subdirectory as you've already discovered.
Sorry about that. I'll jot that down as a feature request.