Displaying 1 result from an estimated 1 matches for "config_all5".
Did you mean:
config_alix
2009 Feb 26
1
Substituting in a variable file name in a Windows system command
.../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=fname,row.names=FALSE,
quote=FALSE,sep=",");
I can build the string (including quotes) that is the first argument in
the system command:
> com <- paste('"C:/upload_data/uploadq8table.bat
C:/upload_data/',fname,'"', sep="")
>...