Re: [Rd] Quote the path of graphics output in Sweave when it contains spaces

2011-06-20 Thread Duncan Murdoch
On 11-06-20 5:57 PM, Yihui Xie wrote: Hi, I'm aware of the definition of a "valid filename" in .SweaveValidFilenameRegexp, but I think it might be better to quote the filename when it contains spaces instead of just giving a warning. This should bring us safer LaTeX code (although I never use sp

[Rd] Quote the path of graphics output in Sweave when it contains spaces

2011-06-20 Thread Yihui Xie
Hi, I'm aware of the definition of a "valid filename" in .SweaveValidFilenameRegexp, but I think it might be better to quote the filename when it contains spaces instead of just giving a warning. This should bring us safer LaTeX code (although I never use spaces in paths). Here is the simple patc