Re: [R] Sweave: include a multi-page-pdf plot

2011-03-27 Thread Duncan Murdoch
On 27/03/2011 1:12 PM, Alexander Engelhardt wrote: Hi, I'm just starting out with Sweave, and I can't get a plot(linmod) to display all four plots: << bild>>= x1<- runif(100) x2<- rexp(100) y<- 3 + 4*x1 + 5*x2 + rnorm(100) mod<- lm(y~x1+x2) plot(mod) @ Some Text <>= <> @ This plots only the

[R] Sweave: include a multi-page-pdf plot

2011-03-27 Thread Alexander Engelhardt
Hi, I'm just starting out with Sweave, and I can't get a plot(linmod) to display all four plots: << bild >>= x1 <- runif(100) x2 <- rexp(100) y <- 3 + 4*x1 + 5*x2 + rnorm(100) mod <- lm(y~x1+x2) plot(mod) @ Some Text <>= <> @ This plots only the first image of the four-page plot.lm() result