Displaying 1 result from an estimated 1 matches for "a_xval0810".
2010 Sep 15
2
Get File Names in Folder, Read Files, Update, and Write
...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 and Derivatives Trading
Phatra Securities Public Company Limited
Tel: +662-305-9179
Email: suphajak@phatrasecurities.com
[[alternative HTML version deleted...