Hola,

Esta es una forma:

l.ex <- list(a = list(1:5, LETTERS[1:5]), 6:10, LETTERS[6:10])
l.ex
l.ex.df <- as.data.frame(l.ex)
names(l.ex.df) <- paste("V", seq(1:dim(l.ex.df)[2]) , sep="", collapse=NULL)
l.ex.df


Que produce esta salida:
> l.ex <- list(a = list(1:5, LETTERS[1:5]), 6:10, LETTERS[6:10])
> l.ex
$a
$a[[1]]
[1] 1 2 3 4 5

$a[[2]]
[1] "A" "B" "C" "D" "E"


[[2]]
[1]  6  7  8  9 10

[[3]]
[1] "F" "G" "H" "I" "J"

> l.ex.df <- as.data.frame(l.ex)
> names(l.ex.df) <- paste("V", seq(1:dim(l.ex.df)[2]) , sep="",
collapse=NULL)
> l.ex.df
  V1 V2 V3 V4
1  1  A  6  F
2  2  B  7  G
3  3  C  8  H
4  4  D  9  I
5  5  E 10  J





Saludos,
Carlos Ortega
www.qualityexcellence.es


2014-02-27 18:10 GMT+01:00 Patricio Fuenmayor Viteri <
patricio.fuenmayor@outlook.com>:

> Hola.. hoy je amanecido aletargado.... no logro esto... tengo una lista de
> este tipo:> head(d00a)[[1]][1] "Strawberry Slaughterhouse" "Kids in
> America"           "Kim Wilde"
> [[2]][1] "Dungeon" "Call me" "Blondie"
> [[3]][1] "Afterworld"        "Money money money" "Abba"
> [[4]][1] "Angel Dust"  "Easy living" "Uriah Heep"
> [[5]][1] "Angra"        "Kashmir"      "Led Zeppelin"
> [[6]][1] "Mushroomhead" "Crazy"        "Seal"
> y quiero pasarla a data.frame, donde cada elemento de la lista es la fila
> del data frame... gracias ... y disculpas por la sencillez ...
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-help-es mailing list
> R-help-es@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>



-- 
Saludos,
Carlos Ortega
www.qualityexcellence.es

	[[alternative HTML version deleted]]

