Try using 'system':
system("chmod 664 filename")
On 7/3/06, statwi01 <statwi01@staff.hu-berlin.de>
wrote:>
> Hi,
>
> is in R a command or option to a command which allows to set the file
> access modifiers for newly created files under Linux ? Currently a new
> file (e.g. with cat) is created with "rw-r--r--" and I would like
to
> have "rw-rw-r". And I do not want to use umask.
>
> Thanks in advance
>
> Sigbert
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390 (Cell)
+1 513 247 0281 (Home)
What is the problem you are trying to solve?
[[alternative HTML version deleted]]