structured-programming

How to set default template for new “.R” files in rstudio

霸气de小男生 提交于 2019-11-30 19:55:57
Background: I like 'r'. I use Rstudio for it - it is a nice IDE. I use the revolution Analytics version of 'r', "revolution R Open". I find that I type the same stuff in the annotation and structured programming regularly, and I want to save myself the re-typing. Question: How do I change the default file template so that the one I want, with some text already populated, comes up when I create a new blank R-script in Rstudio. Clarifications: I am not looking for this to be a manual process where I open one file, renaming it to a proper directory, and then work on it. I am looking to change the

How to set default template for new “.R” files in rstudio

和自甴很熟 提交于 2019-11-30 16:57:00
问题 Background: I like 'r'. I use Rstudio for it - it is a nice IDE. I use the revolution Analytics version of 'r', "revolution R Open". I find that I type the same stuff in the annotation and structured programming regularly, and I want to save myself the re-typing. Question: How do I change the default file template so that the one I want, with some text already populated, comes up when I create a new blank R-script in Rstudio. Clarifications: I am not looking for this to be a manual process