Chuanlong Du
2011-Mar-30 15:59 UTC
[R] How can we modify attributes of files in Windows Systems using R?
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]]
Henrique Dallazuanna
2011-Mar-30 19:32 UTC
[R] How can we modify attributes of files in Windows Systems using R?
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