Skip to content

Integration with LaTex and LyX

5 messages · Eduardo de Oliveira Horta, Jonathan P Daily, Liviu Andronic +1 more

#
?Sweave

LyX is a bit harder, although you can probably export LyX docs to a *.tex 
and Sweave those fairly painlessly.
--------------------------------------
Jonathan P. Daily
Technician - USGS Leetown Science Center
11649 Leetown Road
Kearneysville WV, 25430
(304) 724-4480
"Is the room still a room when its empty? Does the room,
 the thing itself have purpose? Or do we, what's the word... imbue it."
     - Jubal Early, Firefly

r-help-bounces at r-project.org wrote on 12/13/2010 10:27:43 AM:
http://www.R-project.org/posting-guide.html
#
On Mon, Dec 13, 2010 at 4:55 PM, Jonathan P Daily <jdaily at usgs.gov> wrote:
LyX can play very nicely with Sweave and R.
For the 1.6.x series, you could get started here [1]. If that's not
enough, search the LyX wiki and ML archives.
For the 2.0.x series, LyX will provide out-of-the-box support for
Sweave. This is routinely discussed on the ML and in the bug tracker
(if you're looking for examples). At the moment 2.0 is not yet stable,
but beta2 is already out and you are free to experiment.

Regards
Liviu

[1] http://cran.r-project.org/contrib/extra/lyx/
#
I tried hard to write an automagic script to configure LyX so that you
don't need to go to the instructions on CRAN
(http://cran.r-project.org/contrib/extra/lyx/):

http://yihui.name/en/2010/10/how-to-start-using-pgfsweave-in-lyx-in-one-minute/

This works for LyX 1.6.x and major OS'es with probability 95%.

There will be substantial changes in LyX 2.0, and I will need to
modify my configurations after LyX 2.0 is out (hopefully early next
year).

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Mon, Dec 13, 2010 at 9:27 AM, Eduardo de Oliveira Horta
<eduardo.oliveirahorta at gmail.com> wrote:
9 days later