Re: [R] Change in behaviour of sd()

2008-07-09 Thread Jim Lemon
On Tue, 2008-07-08 at 17:38 +1000, Fiona Johnson wrote: > Hi > > I have just upgraded from R2.6.0 to R2.7.1 (running on Windows) and a part > of my code that previously ran ok now gives an error. The following is a > simple example to demonstrate my problem. > > > a <- array(c(1,2,3,4,5,6,rep(NA,

Re: [R] Change in behaviour of sd()

2008-07-08 Thread Peter Dalgaard
Duncan Murdoch wrote: On 08/07/2008 5:01 PM, Rolf Turner wrote: On 8/07/2008, at 7:38 PM, Fiona Johnson wrote: Hi I have just upgraded from R2.6.0 to R2.7.1 (running on Windows) and a part of my code that previously ran ok now gives an error. The following is a simple example to demonstr

Re: [R] Change in behaviour of sd()

2008-07-08 Thread Duncan Murdoch
On 08/07/2008 5:01 PM, Rolf Turner wrote: On 8/07/2008, at 7:38 PM, Fiona Johnson wrote: Hi I have just upgraded from R2.6.0 to R2.7.1 (running on Windows) and a part of my code that previously ran ok now gives an error. The following is a simple example to demonstrate my problem. a <-

Re: [R] Change in behaviour of sd()

2008-07-08 Thread Henrik Bengtsson
Hi, FYI, *the* NEWS file containing updates for all R versions is available at http://cran.r-project.org/ - see the link 'new features and bug fixes'. This links to the URL (which I think is rather stable): https://svn.r-project.org/R/trunk/NEWS The NEWS file also comes with your R installati

Re: [R] Change in behaviour of sd()

2008-07-08 Thread Rolf Turner
On 8/07/2008, at 7:38 PM, Fiona Johnson wrote: Hi I have just upgraded from R2.6.0 to R2.7.1 (running on Windows) and a part of my code that previously ran ok now gives an error. The following is a simple example to demonstrate my problem. a <- array(c(1,2,3,4,5,6,rep(NA,6)),dim=c(6,2))

[R] Change in behaviour of sd()

2008-07-08 Thread Fiona Johnson
Hi I have just upgraded from R2.6.0 to R2.7.1 (running on Windows) and a part of my code that previously ran ok now gives an error. The following is a simple example to demonstrate my problem. > a <- array(c(1,2,3,4,5,6,rep(NA,6)),dim=c(6,2)) > apply(a,2,sd,na.rm=T) In R2.6.0 this gives (which i