[Rd] Error in grid.text after tcltk package loaded

2008-02-05 Thread Erik Iverson
Hello - I am noticing some strange errors when using the grid package, but (apparently) only after loading the tcltk package. The interaction here does not make sense to me, and I'm wondering if anyone else can reproduce this, or if it is specific to my setup. Here is my sessionInfo: session

Re: [Rd] Error in grid.text after tcltk package loaded

2008-02-05 Thread Peter Dalgaard
Erik Iverson wrote: > Hello - > > I am noticing some strange errors when using the grid package, but > (apparently) only after loading the tcltk package. The interaction here > does not make sense to me, and I'm wondering if anyone else can > reproduce this, or if it is specific to my setup. H

Re: [Rd] Error in grid.text after tcltk package loaded

2008-02-05 Thread Erik Iverson
Erik Iverson wrote: > Hello - > > I am noticing some strange errors when using the grid package, but > (apparently) only after loading the tcltk package. The interaction here > does not make sense to me, and I'm wondering if anyone else can > reproduce this, or if it is specific to my setup.

Re: [Rd] Error in grid.text after tcltk package loaded

2008-02-05 Thread Paul Murrell
Hi This looks like a problem with some unPROTECTed memory that is getting grabage collected. A gpar object that is passed down is being corrupted. I can make the problem go away by PROTECTing currentgp in gridText() (in grid.c), but I can't see yet why that needs PROTECTing (if it really does, t