Re: [R] Sweave and graphs

2010-09-15 Thread Katie Surrence
Thanks for your help! My computer died, and I set up Sweave on another computer, on which it is working perfectly. So perhaps I'll never be sure what the problem was on the other machine. On Tue, Sep 14, 2010 at 12:39 PM, Duncan Murdoch wrote: > On 14/09/2010 1:18 PM, Katie Surrence wrote: > >

Re: [R] Sweave and graphs

2010-09-14 Thread Duncan Murdoch
On 14/09/2010 1:18 PM, Katie Surrence wrote: I set my working directory to the location of the file (which I called Demo.Rnw) and I type Sweave("Demo.Rnw") at the R command line. Does that answer your question properly? Yes, that looks fine. So the problem is likely with pdflatex, or maybe

Re: [R] Sweave and graphs

2010-09-14 Thread Katie Surrence
I set my working directory to the location of the file (which I called Demo.Rnw) and I type Sweave("Demo.Rnw") at the R command line. Does that answer your question properly? On Tue, Sep 14, 2010 at 12:08 PM, Duncan Murdoch wrote: > On 14/09/2010 12:01 PM, Katie Surrence wrote: > >> Hi all, >>

Re: [R] Sweave and graphs

2010-09-14 Thread Duncan Murdoch
On 14/09/2010 12:01 PM, Katie Surrence wrote: Hi all, Having solved my Sweave.sty question, I'd like to figure out why my pdf doesn't display the graph in my demo code. Here's the demo code I'm using: http://www.stat.berkeley.edu/~houston/demo.Rnw

[R] Sweave and graphs

2010-09-14 Thread Katie Surrence
Hi all, Having solved my Sweave.sty question, I'd like to figure out why my pdf doesn't display the graph in my demo code. Here's the demo code I'm using: http://www.stat.berkeley.edu/~houston/demo.Rnw When I run Sweave within R (version 2.11) o