[R] noob requesting help

Rui Barradas ruipbarradas at sapo.pt
Mon Jun 18 17:35:57 CEST 2012


Hello,

Ok, sorry about the misleading tip.
This should do it.


do.call(rbind, dep)


Rui Barradas

Em 18-06-2012 13:32, capital_P escreveu:
>
> Rui Barradas wrote
>>
>> Try
>>
>> names(departures) <- NULL
>> dep <- data.frame(departures[ !sapply(departures, is.null) ])
>>
>> You now have data.frame 'dep'.
>>
>
> dep <- data.frame(departures[ !sapply(departures, is.null) ])
> Error in data.frame(`121.1` = list(device_info_serial = integer(0), hour =
> integer(0),  :
>    arguments imply differing number of rows: 0, 1, 2
>
>> dep <- departures
>> names(dep) <- NULL
>> dep <- data.frame(dep)
> Error in data.frame(list(device_info_serial = integer(0), hour = integer(0),
> :
>    arguments imply differing number of rows: 0, 1, 2
>
> --
> View this message in context: http://r.789695.n4.nabble.com/noob-requesting-help-tp4632803p4633691.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list