[R] File permissions

culpritNr1 ig2ar-saf1 at yahoo.co.uk
Tue Mar 10 18:10:58 CET 2009


Great. I tried chmod (which does not exist) but I didn't know that there was
sys.chmod.

Thank you.



Prof Brian Ripley wrote:
> 
> On Tue, 10 Mar 2009, ig2ar-saf1 at yahoo.co.uk wrote:
> 
>>
>> Hello fellow R-ists,
>>
>> How do I change file permissions?
>>
>> I know that file.access can display permission information but how 
>> do I SET those permissions?
> 
> Well, file.info is better are displaying permission information, and 
> Sys.chmod set them in the format used by file.info.
> 
>> Thank you
>>
>> Your culpritNr1
> 
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

-- 
View this message in context: http://www.nabble.com/File-permissions-tp22437684p22439004.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list