Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change RStudio Default R Notebook to blank

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?

like image 710
Adam_G Avatar asked Mar 10 '23 07:03

Adam_G


1 Answers

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
like image 100
Martin Schmelzer Avatar answered Mar 13 '23 13:03

Martin Schmelzer