Re: [R] Help using gPath

2007-08-12 Thread hadley wickham
Here's a partial extract from a sample session after running your code (NOTE this is using the development version of R; grid.ls() does not exist in R 2.5.1 or earlier): Inspect the grob tree with grid.ls() (similar to Hadley's current.grobTree(), but with different formatting) ... (I'll

Re: [R] Help using gPath

2007-08-11 Thread Paul Murrell
Hi Emilio Gagliardi wrote: haha Paul, It's important not only to post code, but also to make sure that other people can run it (i.e., include real data or have the code generate data or use one of R's predefined data sets). Oh, I hadn't thought of using the predefined

Re: [R] Help using gPath

2007-08-10 Thread Paul Murrell
Hi Emilio Gagliardi wrote: Hi Paul, I'm sorry for not posting code, I wasn't sure if it would be helpful without the data...should I post the code and a sample of the data? I will remember to do that next time! It's important not only to post code, but also to make sure that other

Re: [R] Help using gPath

2007-08-10 Thread Emilio Gagliardi
haha Paul, It's important not only to post code, but also to make sure that other people can run it (i.e., include real data or have the code generate data or use one of R's predefined data sets). Oh, I hadn't thought of using the predefined datasets, thats a good idea! Also, isn't this

Re: [R] Help using gPath

2007-08-09 Thread Paul Murrell
Hi Emilio Gagliardi wrote: Hi everyone,I'm trying to figure out how to use gPath and the documentation is not very helpful :( I have the following plot object: plot-surrounds:: background plot.gTree.378:: background guide.gTree.355:: (background.rect.345,

Re: [R] Help using gPath

2007-08-09 Thread Emilio Gagliardi
Hi Paul, I'm sorry for not posting code, I wasn't sure if it would be helpful without the data...should I post the code and a sample of the data? I will remember to do that next time! grid.gedit(gPath(ylabel.text.382), gp=gpar(fontsize=16)) OK, I think my confusion comes from the notation

[R] Help using gPath

2007-08-08 Thread Emilio Gagliardi
Hi everyone,I'm trying to figure out how to use gPath and the documentation is not very helpful :( I have the following plot object: plot-surrounds:: background plot.gTree.378:: background guide.gTree.355:: (background.rect.345, minor-horizontal.segments.347, minor-vertical.segments.349,