I\'ve run into the following problem, which sometimes happens when running the code in R under Rserve. So far I was unable to replicate this.
I first create a P
file.path is more portable across file systems than paste, as it automatically sets appropriate directory separators. Use paste (or paste0) for just the filename:
file.path
paste
paste0
pdf(file=file.path(output.dir, paste0("dates_", name, ".pdf")), width=6.25,height=9,title="Breakdown Dates:")