Change RStudio Default R Notebook to blank

2019-03-22 02:35发布

问题:

The default R Notebook has a lot of prepopulated text. Is there a way to change this, so that when a new R Notebook is created, it is just a blank notebook?

回答1:

On my machine (OSX) I can edit the template r_markdown_notebook.Rmd found at this location:

/Applications/RStudio.app/Contents/Resources/resources/templates

On Windows look inside the RStudio folder:

C:\Program Files\RStudio\resources\templates