[Rd] Bug ? mine or ? in R core
Peter Dalgaard BSA
p.dalgaard@biostat.ku.dk
02 Apr 2000 01:36:20 +0200
Michael Lapsley <mlapsley@ndirect.co.uk> writes:
> Thanks, Peter, it seems to do the trick. I spent a lot of
> time trying first to reproduce then identify this one!
Been there...
> What is the 'approved' method of resizing a vector?
> Is SET_LENGTH deprecated, or does it just happen that there is
> no need for it in tht R internals?
On the contrary! It's the official way. We just don't use it
internally (in the few places where it might be used, we're using
direct calls to realloc()).
--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._