search for: strtoc

Displaying 1 result from an estimated 1 matches for "strtoc".

Did you mean: strtod
2002 Apr 23
2
Bug in read.table() (PR#1477)
...s to > convert to "logical, integer, numeric or complex" in that > order (first one that is successful wins). You have some ids > like 21428-2 which type.convert doesn't like as numeric but > will treat as complex. This in turn is due to R's hand-rolled > "strtoc" function, which returns 0+0i for something it > doesn't like. This is a valid value, so the conversion > "works", and all values are converted this way... > > You or I should probably alert the R people. That's not very > good behavior. ----------------...