Liviu, Thanks for the reply.
I'm afraid I don't understand what you are asking me to try. As the doc has already worked with SWeave, the modules SWeave and Noweb are loaded automatically, which is why I assume I am getting the error as soon as I open the document the lyx. And again the article class is chosen as that is what class of the document I am loading. So I don't reall know what it is you want me to try, sorry. Also when you ask for a small Lyx Sweave file, I haven't reached the stage of trying to compile the document because of the error messages. However, I have just tried to complile it and get an error. "An error occurred while running: Rscript --verbose --no-save --no-restore "/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R" "/var/folders/NZ/NZHrfNFJED4D2lK1ptzXHE+++TI/-Tmp-/lyx_tmpdir.L11776/lyx_tmp..." I have now searced all the latex packages installed and uninstalled and cannot find one called literate, so I am even more confused :-( On 20 August 2011 22:23, Liviu Andronic <landronim...@gmail.com> wrote: > On Sat, Aug 20, 2011 at 10:29 PM, Graham Smith <myotis...@gmail.com> > wrote: > > Just to add to this, I have updated to Mactex 2011, and found the the Tex > > live utlity, but cannot find a package called "literate". > > > Have you tried Document > Settings > Modules > Sweave? And Settings > > Class > Article (or whichever you use)? Else, please send a small > sample of your LyX Sweave file. > > Liviu > > > > I have updated "all" run texhash and reconfigured lyx, but still the same > > error. > > > > Thanks, > > > > Graham > > > > On 20 August 2011 17:40, Graham Smith <myotis...@gmail.com> wrote: > >> > >> I am trying to get Sweave to work with lyx 2.0 on Snow leopard with > Mactex > >> 2010 > >> > >> I had Lyx 1.6 working fine, but uninstalled before installing lyx 2.0 > >> > >> Opening a file in Lyx 2.0 (originally from Ubuntu 11.04 and lyx 2.0) > gives > >> me an error that I am missing > >> > >> literate-latex > >> noweb.sty > >> > >> I know lyx 2.0 uses modules now, but all the instructions I can find > still > >> seem to refer to the old installation, and I am not at all sure what I > >> should be doing here. The Mac is a little bit of a mystery to me, so I > would > >> be very grateful for a bit of hand holding. > >> > >> I'm a bit surprised that googling hasn't found anything, so I assume its > >> just me. > >> > >> many thanks, > >> > >> Graham > > > > > > > > -- > Do you know how to read? > http://www.alienetworks.com/srtest.cfm > http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader > Do you know how to write? > http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail >