as.numeric with trailing spaces (PR#213)
Peter Dalgaard BSA
p.dalgaard@biostat.ku.dk
21 Jun 1999 14:48:52 +0200
Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> writes:
> > > as.numeric(c("2"," 3","4 "," 5 "))
> Could probably be argued that one deserves what one gets in that case,
> but it'll be easier just to change it.... (*endp == '\0' after strtod
> needs to check for blank-or-empty string instead).
Done.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._