Hi Ricardo,

Sweave in LyX 2.0 works a little different.  Instead of being relegated
to a single document class, it has instead been implemented as a module.
The upside is that you can now use Sweave with any document class and
with any LaTeX variant (my personal favorite class is the Tufte
Handout).  This wasn't possible in LyX 1.6 (or, I should say, it was
possible but much more difficult).

But before you can use the module, you need to add it to your document.
This is done from the Document->Settings->Modules pane.  Once the pane
is loaded, simply scroll down to Sweave and add it to your dodcument.
Then click on "Ok" or "Apply".

Once you have done this, a couple of new inset options should appear in
the Inset->Custom menu.  If you have any problems, go ahead and shoot me
an email.

Cheers,

Rob

On Sun, 2010-05-09 at 23:15 +0200, [Ricardo Rodriguez] eBioTIC. wrote: 
> Rob,
> 
> >
> > Rob Oakes wrote:
> >
> >> If the code chunk is short, you can also use S/R expression insets.
> >> (Not sure if this is available in LyX 1.6.5.  From LyX 2.0, go to
> >> Insert->Custom Inserts->S/R expression). 
> 
> I've just installed LyX-2.0.0alpha2.dmg and I don't find the S/R 
> expression option in Insert>Custom Insets.
> 
> Must it be available out of the box?
> 
> Thanks!
> 
> Ricardo
> 


Reply via email to