rmarkdown icon indicating copy to clipboard operation
rmarkdown copied to clipboard

`.R` templates

Open kkmann opened this issue 6 years ago • 3 comments

Hey,

what are the chances of getting support for .R script templates? Currently, I cannot define a custom template via an .R script (only .Rmd).

Best,

Kevin

kkmann avatar Nov 04 '17 12:11 kkmann

What kind of templates are you talking about? http://rmarkdown.rstudio.com/developer_document_templates.html?

yihui avatar Nov 04 '17 15:11 yihui

Well, if I do not put a skeleton.Rmd in the /skeleton subfolder, the template is not recognized by RStudio correctly. I simply put an empty skeleton.Rmd and the actual template.R in the /skeleton folder, which works for me but is kinda hackish. I'd like to work with a skeleton.R, because it is more flexible and accessible to people not familiar with markdown...

kkmann avatar Nov 04 '17 19:11 kkmann

I see. I'm afraid this won't be supported any time soon. I'll take a look at it next year, unless you want to submit a pull request to implement it by yourself.

yihui avatar Nov 06 '17 20:11 yihui

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

github-actions[bot] avatar Feb 14 '23 05:02 github-actions[bot]