search for: _xval

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

Did you mean: _val
2010 Sep 15
2
Get File Names in Folder, Read Files, Update, and Write
...uld you please recommend how I can do this? I have several text files in one folder. Let's name them 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=...