From p.dalgaard@biostat.ku.dk  Sun Apr  2 00:36:20 2000
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 02 Apr 2000 01:36:20 +0200
Subject: [Rd] Bug ? mine or ? in R core
In-Reply-To: Michael Lapsley's message of "Sun, 2 Apr 2000 00:28:21 +0100"
References: <20000401191809.A16446@athome.lapsley> <x2bt3tsmep.fsf@blueberry.kubism.ku.dk> <20000402002821.A16858@athome.lapsley>
Message-ID: <x2k8ih5r7v.fsf@blueberry.kubism.ku.dk>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Bug ? mine or ? in R core
Peter Dalgaard BSA