Re: [R] Code works standalone, yet same code fails when part of package

2012-12-17 Thread Martin Morgan
Hi Mick -- On 12/17/2012 02:01 PM, WATSON Mick wrote: Hi I'm missing something here but I cannot figure out what. What I can see is that the same code works when I load it via source(...) yet fails when I execute it after loading the package I have built (which includes the code. Below is a

[R] Code works standalone, yet same code fails when part of package

2012-12-17 Thread WATSON Mick
Hi I'm missing something here but I cannot figure out what. What I can see is that the same code works when I load it via source(...) yet fails when I execute it after loading the package I have built (which includes the code. Below is a transcript of my R session. First I load the code from