You've tried:
shell("ATTRIB +H C:\\your_file_name") ? On Wed, Mar 30, 2011 at 12:59 PM, Chuanlong Du <dcl...@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@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 ______________________________________________ R-help@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.