1

I have an issue when I try to download a large csv file (170 Mo) from dropbox.

Here is an example of my code :

read.csv2("https://www.dropbox.com/s/m2hkvgcf7zmkdym/example.csv?dl=1", 
quote = "", stringsAsFactors = FALSE)

I get the following error message :

"maximum delay of 60 seconds reached"

It seems there is a limit of time to download the file. After this limit is reached, the execution stops. I have no problems to download smaller csv files.

AndrewGB
  • 16,126
  • 5
  • 18
  • 49
Augustin
  • 11
  • 2

1 Answers1

0

Try the vroom package, which really speeds up the process of loading your data (from 145s to 45s on my computer). See: read.csv is extremely slow in reading csv files with large numbers of columns

Fred-LM
  • 300
  • 1
  • 11
  • Thanks for your answer, very useful ! and yes it is faster than read.csv2 and it enables to download the file. – Augustin Apr 19 '22 at 09:31