I’ve created a Rtemplate.R template file, with the intent to create Rstudio scripts for data analysis.
When I create a new file with ‘new from template’ the file is created and the type is properly assigned - I can open it in Rstudio and it is recognized as an R file.
However, when I then rename the file in the DTP database, the extension is automatically changed from .R to .txt. Is there any way to prevent this from happening and preserve the .R extension while renaming files?