Re: including a Sweave/R code chunk in a LyX table cell

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.
Hi! Rob Oakes wrote: This is clearly either a problem in the way that R installs itself, or the way that LaTeX installs itself. I'm not actually sure which though and I don't know where to file the bug report. It Sweave.sty is required by LaTeX only when used with R, who must we take care

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-13 Thread [Ricardo Rodriguez] eBioTIC.
Hi! I've been trying to learn a bit more about LyX, LaTeX, R and Sweave to better understand this issue :-) Jean-Marc LASGOUTTES wrote: It is expected (by me at least) that either: 1/ the installation of R installs Sweave.sty at the right place (was MaxTeX already installed when you install

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-11 Thread Rob Oakes
This is clearly either a problem in the way that R installs itself, or the way that LaTeX installs itself. I'm not actually sure which though and I don't know where to file the bug report. When I just checked, I was not able to find a "sweave" package for R, nor was I able to find one for TeXLive

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-11 Thread Jean-Marc LASGOUTTES
"[Ricardo Rodriguez] eBioTIC." writes: > *3.* If I try to compile a new document including S/R expressions, > compilation fails throwing the following error: > > ! LaTeX Error: File `Sweave.sty' not found. > > Here the full stack to further reference: > > http://xen.net/onLyX/lyxSweaveStyNotFound.

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-11 Thread [Ricardo Rodriguez] eBioTIC.
Hi! lyx-de...@oak-tree.us wrote: Hi JMarc, Reasonably sure. I was having the problems back in November. And there were two separate issues. The first was getting LyX 2 to work, the second was related to getting R + Sweave to work. The problems that eventually required Sweave.sty were relate

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-11 Thread Jean-Marc LASGOUTTES
"[Ricardo Rodriguez] eBioTIC." writes: > Sorry, I replied to Rob's message before reading this one! That's what > I've found here: Sweave.sty as is is not longer in the path and LyX > looks for R libraries instead. Is it ok this interpretation? Thanks! Yes. But still it should not crash... JMarc

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-11 Thread lyx-devel
Hi JMarc, Reasonably sure. I was having the problems back in November. And there were two separate issues. The first was getting LyX 2 to work, the second was related to getting R + Sweave to work. The problems that eventually required Sweave.sty were related to getting documents to compile co

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-11 Thread [Ricardo Rodriguez] eBioTIC.
Oops! Jean-Marc LASGOUTTES wrote: Rob Oakes writes: Just one thought, make sure that there is a copy of Sweave.sty installed in your LaTeX path (and make sure that LyX can find it). I was having some troubles with Sweave and LyX 2.0 on Mac a while ago, and this is what ultimately fixed it.

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-11 Thread [Ricardo Rodriguez] eBioTIC.
Hi Rob! Rob Oakes wrote: Hi Ricardo, Just one thought, make sure that there is a copy of Sweave.sty installed in your LaTeX path (and make sure that LyX can find it). I was having some troubles with Sweave and LyX 2.0 on Mac a while ago, and this is what ultimately fixed it. Nope, it is

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-11 Thread Jean-Marc LASGOUTTES
Rob Oakes writes: > Just one thought, make sure that there is a copy of Sweave.sty installed > in your LaTeX path (and make sure that LyX can find it). I was having > some troubles with Sweave and LyX 2.0 on Mac a while ago, and this is > what ultimately fixed it. Are you sure? It should not be

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-10 Thread Rob Oakes
Hi Ricardo, Just one thought, make sure that there is a copy of Sweave.sty installed in your LaTeX path (and make sure that LyX can find it). I was having some troubles with Sweave and LyX 2.0 on Mac a while ago, and this is what ultimately fixed it. But, to be honest, I haven't really played wi

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-10 Thread [Ricardo Rodriguez] eBioTIC.
Hi! Jean-Marc LASGOUTTES wrote: Without doing any other step, if I create a new document and go to Document>Settings>Modules and try to add Sweave module, LyX crashes. I am nevertheless able to add other modules like Braille or EndNote. This is bad. However, I do not see where it comes fr

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-10 Thread Jean-Marc LASGOUTTES
"[Ricardo Rodriguez] eBioTIC." writes: > I'm afraid I am facing some kind of problem here. I've downloaded the > 2.0 alfa release and installed in on an MacPro running Mac OS X 10.6.3 > and on top of a LyX 1.6.5 installation running fine. > > First of all, please, after copying the new LyX to Appl

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-10 Thread [Ricardo Rodriguez] eBioTIC.
Thanks Julien and Rob, Rob Oakes wrote: 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 p

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-09 Thread Rob Oakes
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

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-09 Thread Julien Rioux
On 09/05/2010 5:15 PM, [Ricardo Rodriguez] eBioTIC. wrote: 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 The sweave module should be there out of the box. Once you add it to y

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-09 Thread [Ricardo Rodriguez] eBioTIC.
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

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-09 Thread [Ricardo Rodriguez] eBioTIC.
Thanks, Rob! Rob Oakes wrote: Hi Ricardo, <> For reasons I do not really understand, R code within tables (or figure floats) can be very fragile. LyX 2.0 makes this better through the Sweave module, but it is still not perfect. The best way I have found for overcoming the fragility is to pla

Re: including a Sweave/R code chunk in a LyX table cell

2010-05-09 Thread Rob Oakes
Hi Ricardo, <> For reasons I do not really understand, R code within tables (or figure floats) can be very fragile. LyX 2.0 makes this better through the Sweave module, but it is still not perfect. The best way I have found for overcoming the fragility is to place it within a minipage. You can

including a Sweave/R code chunk in a LyX table cell

2010-05-09 Thread [Ricardo Rodriguez] eBioTIC.
Hi all, I've posted this same message yesterday evening at http://www.latex-community.org LyX forum. Please, accept my apologies for cross-posting! I'm new to this LyX world and trying to identify the best way of getting/providing help! Here the issue: I've successfully installed R 2.11.0 an