Hello, Are there any packages which allow for a good integration between R and LaTex / LyX? I'm interested mainly in automatic (automagic?) imports of plots/graphics. Thanks in advance and best regards, Eduardo de Oliveira Horta [[alternative HTML version deleted]]
?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:> [image removed] > > [R] Integration with LaTex and LyX > > Eduardo de Oliveira Horta > > to: > > r-help > > 12/13/2010 10:29 AM > > Sent by: > > r-help-bounces at r-project.org > > Hello, > > Are there any packages which allow for a good integration between R and > LaTex / LyX? I'm interested mainly in automatic (automagic?) imports of > plots/graphics. > > Thanks in advance and best regards, > > Eduardo de Oliveira Horta > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.
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:> Hello, > > Are there any packages which allow for a good integration between R and > LaTex / LyX? I'm interested mainly in automatic (automagic?) imports of > plots/graphics. > > Thanks in advance and best regards, > > Eduardo de Oliveira Horta > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >