[R] Help with Error Message

2007-11-05 Thread Patrick Richardson
Hoping someone can offer me some assistance. I'm trying to execute a script and I keep getting this error message about Error: element 12 is empty. I'm wondering if my syntax is incorrect within legend.list. If anyone has any suggestions to sees something obvious that I am missing, I would

Re: [R] Help with Error Message

2007-11-05 Thread Matthew Keller
Not having run your script, it looks to me like you have an extra comma after the final element of legend.list... On 11/5/07, Patrick Richardson [EMAIL PROTECTED] wrote: Hoping someone can offer me some assistance. I'm trying to execute a script and I keep getting this error message about

[R] help on error message!!!

2007-11-04 Thread david csongor
Could anyone please help me with this one!!! I am looping some simple stuff but when I enter an if - function I get this error message: Error in if (y (2/(1 * pi) * sqrt(1 - ((x - 2)/1)^2))) c[i] = x else c[i] = 0 : missing value where TRUE/FALSE needed WHAT does it mean, what should

Re: [R] help on error message!!!

2007-11-04 Thread Bernardo Rangel Tura
On Sun, 2007-11-04 at 15:06 +0100, david csongor wrote: Could anyone please help me with this one!!! I am looping some simple stuff but when I enter an if - function I get this error message: Error in if (y (2/(1 * pi) * sqrt(1 - ((x - 2)/1)^2))) c[i] = x else c[i] = 0 :