search for: out_2009

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

2009 Feb 26
1
Substituting in a variable file name in a Windows system command
...nning R version 2.8.1 on Windows XP OS. I generate and write a .csv file from my R script. Then the following command works to upload it to a remote server using a windows batch file that carries out the ftp (among other things). > system("C:/upload_data/uploadq8.bat C:/upload_data/out_2009-02-26.csv", wait=FALSE) I want to set this up to run daily and create a unique filename each day it runs. I write the .csv file with a unique filename by > fname <- paste("out_",Sys.Date(),".csv",sep="") > write.table(config_all5,file=fnam...