search for: a0810

Displaying 1 result from an estimated 1 matches for "a0810".

Did you mean: 0810
2010 Sep 15
2
Get File Names in Folder, Read Files, Update, and Write
...hem A0801.RSK, A0802.RSK, .... I would like R to 1) Know all file names in this folder 2) Update value in one column of these files 3) Write results in another text file with _xval in the file names Below is R code for read, update, and write one file Import<-"C:/A0810.RSK" Table<-read.table(file= Import, sep = ",", head=TRUE, na.strings = "NA") Table$VALUE <-0 Export<-"C:/A_XVal0810.RSK" write.table(Table, file= Export, sep = ",", col.names = TRUE) Thank you Best Regards, Suphajak Ngamlak Equity an...