search for: recovery_rates_at_2012

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

2012 Jul 04
3
How to use Sys.time() while writing a csv file name
...;.csv", sep = ""), row.names = FALSE) However, I get following error - Error in file(file, ifelse(append, "a", "w")) :   cannot open the connection In addition: Warning message: In file(file, ifelse(append, "a", "w")) : cannot open file 'recovery_rates_at_2012-07-04 1:14:05.csv': Invalid argument If instead of Sys.time, I use some other variable e.g. lgd as write.csv(data.frame(recovery_rates = rr), paste('rates_',lgd,'.csv', sep = ""), row.names = FALSE) I am able to store these simulated recovery rates in different fi...