From veraf at stat.sc.edu  Thu Nov  6 02:13:45 2003
From: veraf at stat.sc.edu (veraf@stat.sc.edu)
Date: Thu Nov  6 02:12:42 2003
Subject: [Rd] Bug in R (PR#4960)
Message-ID: <200311060113.hA61Dj0P012798@pubhealth.ku.dk>

Hello,

My name is Francisco Vera. I have a small problem with the names produced by
the function data.frame. If you run the code below, you will notice that the
names of b1 are correct except for the first variable. This problem does not
happen in the case of b2.

a1<-sapply(1:5,function(x) rmultinom(x,20,1:4/10))
a2<-sapply(2:6,function(x) rmultinom(x,20,1:4/10))
b1<-data.frame(a1)
b2<-data.frame(a2)

The version of R I am using is 1.8.0. My OS is Windows XP

Thanks for your reviewing and possibly fixing this bug

Francisco Vera
Department of Statistics
University of South Carolina
Columbia, SC 29208


[Rd] Bug in R (PR#4960)
veraf@stat.sc.edu