Re: [R] How to paste graph from R in Latex?

From: Sarah Goslee <>
Date: Sat, 17 May 2008 08:55:39 -0400

On Sat, May 17, 2008 at 8:18 AM, Jeremiah Rounds <> wrote:
> Someone mentioned Sweave. Sweaves value really depends on who you are and what your doing. Its work cycle is not appropriate for students or anyone that needs rapid cycle prototyping imo. Its great flaw is that it does not work well with "changing a little something--looking at the results in R" followed by "changing a little something in latex--looking at the results in dvi" repeated over and over and over again. The reason is it has to repeat far to much work in each cycle. Often times repeating long calculations.

Or you could wrap the time-consuming parts in: if(exists("whatever", where=1)) { do timeconsuming thing} as long as you are sure that if the results are already there they don't need to be recalculated.
You can get caught by not having something recalculated that you expect to be new, but if
you have lengthy calculations (in my case a couple of days for some things) it is very useful.


Sarah Goslee

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 17 May 2008 - 13:04:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 17 May 2008 - 14:30:38 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive