Search code examples
rnotepad++

How to modify and save Rprofile.site under Windows?


I wish to modify Rprofile.site file under Windows 7 R-2.11.1 using Notepad++ editor changing from

# options(help_type="text")
  options(help_type="html")

to

  options(help_type="text")
# options(help_type="html")

When saving this file, the editor keeps prompting the following message

"Please check whether if this is opened in another program"

I have no other programme opening this file.

Does anyone know on how to modify and save this file?


Solution

  • You don't have write access to the program files folder. To get it on a temporary basis start Notepad++ as administrator from the right click menu of the shortcut you use to start it. Then you will be able to write this file.