Re: [Rd] what should names(x) be padded with when length(x) is increased?

2009-09-18 Thread Gabor Grothendieck
The graphviz site, itself, lists resources/alternatives here: http://www.graphviz.org/Resources.php On Fri, Sep 18, 2009 at 6:34 PM, William Dunlap wrote: > R version 2.10.0 Under development (unstable) (2009-09-08 r49628) > > Here are two somewhat related questions. > > First, when we attach a t

[Rd] what should names(x) be padded with when length(x) is increased?

2009-09-18 Thread William Dunlap
R version 2.10.0 Under development (unstable) (2009-09-08 r49628) Here are two somewhat related questions. First, when we attach a too short names vector to a vector the names vector is padded with NA's to the length of the main vector: E.g., > x<-1:3 > names(x)<-c("One","Two") > str(x)