In the following the first element of xx should have been set to 0 but remains NA. Any comments? > xx <- c(NA,1) > is.na(xx) <- 0 > xx [1] NA 1 > R.version.string # Windows XP [1] "R version 2.2.0, 2005-09-20"