Displaying 8 results from an estimated 8 matches for "second_records".
2024 Apr 08
4
Exceptional slowness with read.csv
...ds are good.
So I try this:
> startTime <- Sys.time()
> first_records <- read.csv(file_name, nrows = 2459465)
> endTime <- Sys.time()
> cat("elapsed time = ", endTime - startTime, "\n")
elapsed time = ? 24.12598
> startTime <- Sys.time()
> second_records <- read.csv(file_name, skip = 2459465, nrows = 5)
> endTime <- Sys.time()
> cat("elapsed time = ", endTime - startTime, "\n")
This appears to never finish. I have been waiting over 20 minutes.
So why would (skip = 2459465, nrows = 5) take orders of magnitude long...
2024 Apr 08
2
Exceptional slowness with read.csv
? Sun, 7 Apr 2024 23:47:52 -0600
Dave Dixon <ddixon at swcp.com> ?????:
> > second_records <- read.csv(file_name, skip = 2459465, nrows = 5)
It may or may not be important that read.csv defaults to header =
TRUE. Having skipped 2459465 lines, it may attempt to parse the next
one as a header, so the second call read.csv() should probably include
header = FALSE.
Bert's advice to t...
2024 Apr 08
2
Exceptional slowness with read.csv
...artTime <- Sys.time()
> > first_records <- read.csv(file_name, nrows = 2459465)
> > endTime <- Sys.time()
> > cat("elapsed time = ", endTime - startTime, "\n")
>
> elapsed time = 24.12598
>
> > startTime <- Sys.time()
> > second_records <- read.csv(file_name, skip = 2459465, nrows = 5)
> > endTime <- Sys.time()
> > cat("elapsed time = ", endTime - startTime, "\n")
>
> This appears to never finish. I have been waiting over 20 minutes.
>
> So why would (skip = 2459465, nrows = 5) t...
2024 Apr 08
1
Exceptional slowness with read.csv
...artTime <- Sys.time()
> > first_records <- read.csv(file_name, nrows = 2459465)
> > endTime <- Sys.time()
> > cat("elapsed time = ", endTime - startTime, "\n")
>
> elapsed time = 24.12598
>
> > startTime <- Sys.time()
> > second_records <- read.csv(file_name, skip = 2459465, nrows = 5)
> > endTime <- Sys.time()
> > cat("elapsed time = ", endTime - startTime, "\n")
>
> This appears to never finish. I have been waiting over 20 minutes.
>
> So why would (skip = 2459465, nrows = 5) t...
2024 Apr 10
2
Exceptional slowness with read.csv
...tTime <- Sys.time()
> > first_records <- read.csv(file_name, nrows = 2459465)
> > endTime <- Sys.time()
> > cat("elapsed time = ", endTime - startTime, "\n")
>
> elapsed time = ? 24.12598
>
> > startTime <- Sys.time()
> > second_records <- read.csv(file_name, skip = 2459465, nrows = 5)
> > endTime <- Sys.time()
> > cat("elapsed time = ", endTime - startTime, "\n")
>
> This appears to never finish. I have been waiting over 20 minutes.
>
> So why would (skip = 2459465, nrows = 5)...
2024 Apr 08
1
Exceptional slowness with read.csv
...first_records <- read.csv(file_name, nrows = 2459465)
> > > endTime <- Sys.time()
> > > cat("elapsed time = ", endTime - startTime, "\n")
> >
> > elapsed time = 24.12598
> >
> > > startTime <- Sys.time()
> > > second_records <- read.csv(file_name, skip = 2459465, nrows = 5)
> > > endTime <- Sys.time()
> > > cat("elapsed time = ", endTime - startTime, "\n")
> >
> > This appears to never finish. I have been waiting over 20 minutes.
> >
> > So why would...
2024 Apr 08
2
Exceptional slowness with read.csv
...> ?> first_records <- read.csv(file_name, nrows = 2459465)
> ?> endTime <- Sys.time()
> ?> cat("elapsed time = ", endTime - startTime, "\n")
>
> elapsed time = ? 24.12598
>
> ?> startTime <- Sys.time()
> ?> second_records <- read.csv(file_name, skip = 2459465, nrows = 5)
> ?> endTime <- Sys.time()
> ?> cat("elapsed time = ", endTime - startTime, "\n")
>
> This appears to never finish. I have been waiting over 20 minutes.
>
> So why would (skip = 24594...
2024 Apr 10
1
Exceptional slowness with read.csv
...; ?> first_records <- read.csv(file_name, nrows = 2459465)
>> ?> endTime <- Sys.time()
>> ?> cat("elapsed time = ", endTime - startTime, "\n")
>>
>> elapsed time = ? 24.12598
>>
>> ?> startTime <- Sys.time()
>> ?> second_records <- read.csv(file_name, skip = 2459465, nrows = 5)
>> ?> endTime <- Sys.time()
>> ?> cat("elapsed time = ", endTime - startTime, "\n")
>>
>> This appears to never finish. I have been waiting over 20 minutes.
>>
>> So why would (skip...