From ashenfluff at yahoo.com  Wed Oct 22 22:29:23 2003
From: ashenfluff at yahoo.com (ashenfluff@yahoo.com)
Date: Wed Oct 22 22:28:19 2003
Subject: [Rd] assigning to a null data frame. (PR#4727)
Message-ID: <200310222029.h9MKTN0P017460@pubhealth.ku.dk>

Full_Name: Ben K.
Version: 1.8.0
OS: win2k
Submission from: (NULL) (208.243.20.222)



This fails:

vars<-data.frame(NULL)
vars$delta<-4

output: Error in "$<-.data.frame"(`*tmp*`, "delta", value = 4) : 
        replacement has 1 rows, data has 0

It worked in 1.7.0 and all previous, and if we initialize vars without NULL, 
R is OK with it:

vars<-data.frame(dummy=4)
vars$delta<-4


[Rd] assigning to a null data frame. (PR#4727)
ashenfluff@yahoo.com