Can someone explain the use of SETLENGTH() and SETTRUELENGTH()?
I would like to allocate a vector and reserve some space at the end,
so that it appears shorter than the allocated size. So that I can
more efficiently append to the vector, without requiring a new copy
every time. So I'd like to use
compared to by tapply has the nice property that the output is a
multidimensional array. But in its standard form it only accepts one
vector, a list of factors, and a function of one argument.
Then it splits the vector according to the factor(s) and
applies the function to each of subsets created b
Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> Probably! The differences I still know about are:
> - I'd like the name to reflect the data source, so rawConnection or
> something similar rather than overloading textConnection.
> - It needs a man page, or to be included on the textConnection m
> "MM" == Martin Maechler <[EMAIL PROTECTED]>
> on Thu, 1 Sep 2005 13:39:52 +0200 writes:
> "StEgl" == Stephen Eglen <[EMAIL PROTECTED]>
> on Thu, 1 Sep 2005 12:09:15 +0100 writes:
StEgl> If the last line of an R script does not have a
StEgl> trailing newline, a sm
On 9/3/05, Uwe Ligges <[EMAIL PROTECTED]> wrote:
> Gabor Grothendieck wrote:
>
> > For an R package whose purpose is to interface to other software,
> > since such other software is not necessarily being on CRAN how does one
> > proceed so that the R package can pass 'R CMD check'? None
> > of th
Gabor Grothendieck wrote:
> For an R package whose purpose is to interface to other software,
> since such other software is not necessarily being on CRAN how does one
> proceed so that the R package can pass 'R CMD check'? None
> of the examples or demos in the package can run without the soft