On 01 Jul 2014, at 21:03 , John McKown wrote:
> Basically, a "wash". For a stress, I took in all 136 of my files in a
> single execution. Output was 22,823 elements in the data.frame.
> Yours:
> real3m32.651s
> user3m26.837s
> sys 0m2.292s
>
> Mine:
> real3m24.603s
> user3m2
;,"POSIXct","POSIXct"))
David C
-Original Message-
From: Bert Gunter [mailto:gunter.ber...@gene.com]
Sent: Tuesday, July 1, 2014 12:33 PM
To: David L Carlson
Cc: John McKown; r-help@r-project.org
Subject: Re: [R] combining data from multiple read.delim() invocations.
Maybe, Davi
Maybe, David, but this isn't really it.
Your code just basically reproduces the explicit for() loop with the
lapply. Maybe there might be some advantage in rbinding the list over
incrementally adding rows to the data frame, but I would be surprised
if it made much of a difference either way. Of c
There is a better way. First we need some data. This creates three files in
your home directory, each with five rows:
write.table(data.frame(rep("A", 5), Sys.time(), Sys.time()),
"A.tab", sep="\t", row.names=FALSE, col.names=FALSE)
write.table(data.frame(rep("B", 5), Sys.time(), Sys.time(
4 matches
Mail list logo