Re: [R] Sweave Executes Package Functions Twice

2011-04-15 Thread Rolf Turner
On 16/04/11 00:38, Duncan Murdoch wrote: In version 2.14.0 in the fall, this will no longer be the default behaviour. Perhaps it will be possible to suppress the multiple runs before then, but I think it is unlikely that the default will change. It already ***is*** the fall (or autumn, mo

Re: [R] Sweave Executes Package Functions Twice

2011-04-15 Thread Duncan Murdoch
On 15/04/2011 7:00 AM, Dario Strbenac wrote: Hi, I've got something strange going on. I'm trying to compile a vignette using Sweave("vignette.Rnw"), and in the first code chunk that illustrates an example, I noticed from the output text I have inside the function, that it is running it twice,

[R] Sweave Executes Package Functions Twice

2011-04-15 Thread Dario Strbenac
Hi, I've got something strange going on. I'm trying to compile a vignette using Sweave("vignette.Rnw"), and in the first code chunk that illustrates an example, I noticed from the output text I have inside the function, that it is running it twice, because the sequence of message() statements i