cmlegault / IBMWG

Index Based Methods Working Group
0 stars 1 forks source link

sys.date use means only one run per day? #31

Closed cmlegault closed 4 years ago

cmlegault commented 4 years ago

today = format(Sys.Date(), "%Y/%m/%d") is used in the output file naming outfile = paste0("output/demo-mse-",user,"-",str_remove_all(today,"/"),".rds") saveRDS(mse_output, file = outfile) Does this mean that a user can only do one set of simulations per day? It appears that any additional runs done the same day will overwrite the runs already done that day. Or am I missing something? Would using sys.time instead in the outfile name fix this problem, if it is a problem?

gavinfay commented 4 years ago

changed to sys.time as suggested during 09/17/2020 call.