When R creates PDFs using pdf() it includes a CreationDate and a ModDate in the PDF. I have a number of such generated PDFs in an svn repository and the effect is that when figures are remade by R, even with the same data, they appear as modified (rightly so) to svn. What's the best way to get the two to play nicely together?
I could simply remove those lines from the PDFs outside of R, but this extra step is undesirable.
I could set the system time to some fixed value as part of the running the scripts, but this is even less desirable.
I could probably even convince svn to use a specialized diff which ignored changes on those lines, but that sounds like more trouble than it's worth.
A very pleasant solution would be if there were a way to prevent R putting those lines in the PDF file in the first place. I have a file system to tell me when files were created and modified thank-you-very-much, I don't need that info stored within the file as well.