Le 01/02/2012 17:15, Yihui Xie a écrit :
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.
Oops, stupid of me, sorry. -- Jean-Pierre