[R] Strange column shifting with read.table
dwinsemius at comcast.net
Mon Aug 3 01:45:22 CEST 2009
On Aug 2, 2009, at 7:25 PM, Noah Silverman wrote:
> 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
Since we don't have the data, it is not your duty to provide us with
the output from either:
or perhaps even better ..
Your earlier effort at providing a fragment of the data fails because
either your (or possibly my) mail client adds <cr> to the end of
lines as they are displayed.
David Winsemius, MD
West Hartford, CT
More information about the R-help