[Rd] Bug ? mine or ? in R core
Peter Dalgaard BSA
02 Apr 2000 01:36:20 +0200
Michael Lapsley <firstname.lastname@example.org> writes:
> Thanks, Peter, it seems to do the trick. I spent a lot of
> time trying first to reproduce then identify this one!
> 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
~~~~~~~~~~ - (email@example.com) 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: firstname.lastname@example.org