Skip to content
Prev 1910 / 398506 Next

Pairlist & Dataframe

Is this a feature/bug or am I missing something:

    R : Copyright 1999, The R Development Core Team
    Version 0.63.2  (January 12, 1999)
    ......
    
    > ls()     
    character(0)
    > x <- NULL
    > x$x1 <- rnorm(10)
    > x$x2 <- rnorm(10)
    > mode(x)
    [1] "pairlist"
    > as.data.frame(x)
    Error: can't coerce pairlist into a data.frame

Thanks,
E. S. Venkatraman
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._