Re: [R] Trouble using grid.layout in Sweave

2010-07-29 Thread Paul Murrell
Hi On 27/07/2010 2:51 a.m., Sebastian Weber wrote: Hi! I am troubled by Sweave which I want to use in order to plot graphics which I build up successively by the use of grid.layout. Here is the code: <>= Is the problem just that you have specified "height=6in" rather than "height=6" ? i.e.

Re: [R] Trouble using grid.layout in Sweave

2010-07-26 Thread Sebastian Weber
> Supervisory Fishery Biologist > Department of the Interior > US Fish & Wildlife Service > California, USA > > > > - Original Message ---- > > From: Sebastian Weber > > To: r-help@r-project.org > > Sent: Mon, July 26, 2010 7:51:06 AM > > Subject: [R

Re: [R] Trouble using grid.layout in Sweave

2010-07-26 Thread Felipe Carrillo
p; Wildlife Service California, USA - Original Message > From: Sebastian Weber > To: r-help@r-project.org > Sent: Mon, July 26, 2010 7:51:06 AM > Subject: [R] Trouble using grid.layout in Sweave > > Hi! > > I am troubled by Sweave which I want to use i

[R] Trouble using grid.layout in Sweave

2010-07-26 Thread Sebastian Weber
Hi! I am troubled by Sweave which I want to use in order to plot graphics which I build up successively by the use of grid.layout. Here is the code: <>= ## combined plot via grid viewports grid.newpage() pushViewport(viewport(layout=grid.layout(2,1))) vlay <- function(x,y) viewport(layout.pos.ro