Search code examples
rwindowshidden-files

Saving a file as .RProfile in windows


I have an .RProfile file that I set up on my Mac Laptop. When I tried to save the file after coding it in BBEdit, the system objected, saying I must give it a name that doesn't begin with the dot. I saved it as RProfile.txt, the opened my Terminal window and did:

mv RProfile.txt .RProfile

Which worked.

Now I've tried to set the same thing up at school on PC's with Windows 7 and I haven't been successful yet. Again, the system objected to the .RProfile name. If I save it as RProfile.txt, what can I use to change the name to .RProfile? I tried changing the name in the folder directory, but again it objected.

Can someone help me on this issue?

Thanks.


Solution

  • Add a period at the end when titling it as in .Rprofile. The end period will magically disappear.