[R] write.csv permissions

arun smartpink111 at yahoo.com
Sun May 27 16:36:57 CEST 2012


Dear R help,

I have a doubt regarding the write.csv function.  When I save a file (write.csv(res1,"res1.csv")), it is saving with the read-only permission.  I tried to change the permission as a root user with chmod u+x.  Though, it says that "-rwxr--r--  1 root root     164 2012-05-27 10:18 res1.csv", when I open the file it is still read-only.  Is there any way to save the file with no restrictions on permission?  I use the R  console as a root user (sudo R).

Thanking you,
A.K.



More information about the R-help mailing list