I use R Studio on a Windows Computer. I have a problem with saving R scripts as an R file. I tried to click on "save as" and then give the file a name ending on .R