On Wed, Feb 1, 2012 at 5:15 PM, Yihui Xie <x...@yihui.name> wrote: > I guess you compiled the document under > /usr/local/share/lyx-2.0.3svn/examples/, right? > > I believe the problem is that R has no write privilege to that > directory, so the default pdf() device cannot be started there. You > can copy sweave.lyx to a directory where you have write privilege, and > see if it compiles correctly. > Hmm, isn't the compilation supposed to be performed in a /tmp/ dir, where permissions are available?
Liviu