This sounds hard to diagnose... Does that file really exist or not? Can you go and check in that folder?
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 8, 2012 at 2:20 PM, Graham Smith <myotis...@gmail.com> wrote: > Yihui > > Thanks for the response > > >> Which version of R are you using? Does it work when you add this to >> your document as TeX code (Insert-->TeX Code)? >> >> \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure} > > It's R 2.14.1, and adding the code doesn't make any difference. > > Graham >