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

Reply via email to