From jlindsey@alpha.luc.ac.be  Mon Dec 20 22:44:05 1999
From: jlindsey@alpha.luc.ac.be (jlindsey@alpha.luc.ac.be)
Date: Mon, 20 Dec 1999 23:44:05 +0100 (MET)
Subject: concatenating dataframes (PR#381)
Message-ID: <199912202244.XAA25245@pubhealth.ku.dk>

The following work if y is an ordinary matrix but not a dataframe:

tt <- NULL
y <- data.frame(1:20,1:20)
rbind(tt,y)

gives "incompatible types" error (if the dataframe contains only factor
variables, it gives warnings but works)

if I initialize instead with

tt <- list()

it gives a "missing value where logical needed" error.
Jim

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


concatenating dataframes (PR#381)
jlindsey@alpha.luc.ac.be