Skip to content
Prev 293632 / 398503 Next

Rprofile.site under Windows 7?

On 5/4/2012 5:41 AM, Duncan Murdoch wrote:
Thanks very much.  It helped me isolate and solve the problem:


       I edited "Rprofile.site" in Emacs.  When I saved the edited 
version into the default, write protected location, Windows 7 apparently 
saved two copies:  the original and a hidden copy with my edits.  When I 
then reopen the file in Emacs, I see my edits.  However, when I open it 
with WordPad or try to read it as you just described, my edits do not 
appear.  Knowing this, I saved a copy to a non-protected location, 
edited it there, then copied the edited version back into the protected 
directories.  Now it works.  (I had previously avoided installing R in 
the default location since encountering problems with Vista.)


       This is almost enough to drive a person to join the "I hate 
MicroSoft" fan club.


       Spencer