[R] Problems with na.rm=T

2007-06-14 Thread Lucke, Joseph F
Suddenly (e.g. yesterday) all my functions that have "na.rm=" as a parameter (e.g., mean(), sd(), range(), etc.) have been reporting warnings with "na.rm=T". The message is "Warning message: the condition has length > 1 and only the first element will be used in: if (na.rm) x <- x[!is.na(x)] ". T

Re: [R] Problems with na.rm=T

2007-06-14 Thread Duncan Murdoch
On 6/14/2007 10:32 AM, Lucke, Joseph F wrote: > Suddenly (e.g. yesterday) all my functions that have "na.rm=" as a > parameter (e.g., mean(), sd(), range(), etc.) have been reporting > warnings with "na.rm=T". The message is "Warning message: the condition > has length > 1 and only the first elemen

Re: [R] Problems with na.rm=T

2007-06-14 Thread Peter Dalgaard
Lucke, Joseph F wrote: > Suddenly (e.g. yesterday) all my functions that have "na.rm=" as a > parameter (e.g., mean(), sd(), range(), etc.) have been reporting > warnings with "na.rm=T". The message is "Warning message: the condition > has length > 1 and only the first element will be used in: if (

Re: [R] Problems with na.rm=T

2007-06-14 Thread Lucke, Joseph F
Brilliant! Yesterday, I created a table called T. Dumb. Removing it solves the problem. Thanks. -Original Message- From: Duncan Murdoch [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 10:01 AM To: Lucke, Joseph F Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Problems with

Re: [R] Problems with na.rm=T

2007-06-14 Thread Barry Rowlingson
Lucke, Joseph F wrote: > Suddenly (e.g. yesterday) all my functions that have "na.rm=" as a > parameter (e.g., mean(), sd(), range(), etc.) have been reporting > warnings with "na.rm=T". The message is "Warning message: the condition > has length > 1 and only the first element will be used in: if (