[R] How can we modify attributes of files in Windows Systems using R?

Henrique Dallazuanna wwwhsd at gmail.com
Wed Mar 30 21:32:37 CEST 2011


You've tried:


shell("ATTRIB +H C:\\your_file_name")

?

On Wed, Mar 30, 2011 at 12:59 PM, Chuanlong Du <dclong at iastate.edu> wrote:
> Hello!
>
> Does any one know how to modify attributes of files (hide, read only and
> etc) in Windows Systems using R? I tried to use shell to call system
> command, but it seems that it doesn't work well. Sometimes it works but
> sometimes not.
>
> Regards!
>
> --
> Chuanlong Du
> Department of Statistcis
> Iowa State University
> Ames, IA, US 50011
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list