The patch is pretty simple: http://www.lyx.org/trac/ticket/8019
Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Feb 1, 2012 at 12:53 PM, Liviu Andronic <landronim...@gmail.com> wrote: > On Wed, Feb 1, 2012 at 5:29 PM, Yihui Xie <x...@yihui.name> wrote: >> You are right (ideally), but this is a long-lasting annoying problem >> with R's default graphical device which is pdf() in the >> non-interactive session. Unfortunately it has to create a file under >> the current working directory (usually named Rplots.pdf). I requested >> a true null device which does not write files, and it was implemented >> in R 2.14.1, but again, unfortunately it has a bug which makes this >> null device still write a file named NA. I have not got any response >> from R core yet about this bug. >> >> I can submit a simple patch to lyxsweave.R to avoid this problem by >> redirecting the default file to a temp dir, but I'm not sure if it is >> still in time. It should not break string freeze, though. >> > It would be nice, indeed. Richard, JMarc, can such a patch go in for 2.0.3? > > Liviu > > >> Regards, >> Yihui >> -- >> Yihui Xie <xieyi...@gmail.com> >> Phone: 515-294-2465 Web: http://yihui.name >> Department of Statistics, Iowa State University >> 2215 Snedecor Hall, Ames, IA >>