Re: [R] Determine file access modifiers at file creation

From: jim holtman <jholtman_at_gmail.com>
Date: Mon 03 Jul 2006 - 21:46:05 EST

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]]

______________________________________________
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
Received on Mon Jul 03 22:04:07 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 04 Jul 2006 - 00:13:56 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.