Change RStudio Default R Notebook to blank

后端 未结 1 1478
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-10 15:34

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条回答
  •  悲&欢浪女
    2021-02-10 16:03

    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
    

    On Ubuntu/Mint (Linux), you will need sudo:

    /usr/lib/rstudio/resources/templates
    

    0 讨论(0)
提交回复
热议问题