[R] Strange column shifting with read.table

Noah Silverman noah at smartmediacorp.com
Mon Aug 3 01:25:30 CEST 2009


Just tried your suggestion.
rawdata[is.na(rawdata), ] <- 0

It FAILS with the following error:
Error in `[<-.data.frame`(`*tmp*`, is.na(rawdata), , value = 0) :  
non-existent rows not allowed




More information about the R-help mailing list