Support #8996

dowload zip file on R studio

Added by TAHA IMZILEN over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:Jun 22, 2017
Priority:NormalDue date:
Assignee:TAHA IMZILEN% Done:

0%

Category:-
Infrastructure:
Milestones:
Duration:

Description

Dear Gianpaolo,
When we try to download a zip file via its public link on R studio online with 'download.file' function, the download takes several minutes and we get some bugs . whereas when i do it on R studio on a local machine, it takes only a few seconds.
do you have any idea why that happen please ?
Thank you

History

#1 Updated by Gianpaolo Coro over 2 years ago

  • Assignee changed from Gianpaolo Coro to Valentina Marioli

#2 Updated by Pasquale Pagano over 2 years ago

dear @taha.imzilen@ird.fr, I am not sure to understand this request.
I assume that the RStudio online is the RStudio we provide in a VRE. If this is correct please specify in which VRE you are operating and you observed the misbehaviour.

Then you reported "the download takes several minutes and we get some bugs": can you report the error message?

Finally, I assume also that with "download a zip file via its public link" you are referring to content stored in the workspace. Can you report the public link you are using to let @valentina.marioli@isti.cnr.it to perform some tests?

Thanks.

#3 Updated by Valentina Marioli over 2 years ago

@taha.imzilen@ird.fr, we also need to know which account you are using to access the infrastructure: taha.imzilen@ird.fr or imzilen.taha@gmail.com? You have two different workspaces and you are using both of them, so, please, check if you are using always the same account to download files.
Could we remove the account imzilen.taha@gmail.com to avoid any misunderstandings?

#4 Updated by TAHA IMZILEN over 2 years ago

Dear @pasquale.pagano@isti.cnr.it and @valentina.marioli@isti.cnr.it ,
Thank you for your answers.
I'm using RStudio in ICCAT_BFT-E VRE, and i don't get error but browser and computer run so slow until the end of download.
Here is an example of a file that i try to download (~6Mo) : http://data.d4science.org/WjRKbTN5YUtzdTBmMjlZSEdoZFR4c1prdW41bjdRVTFHbWJQNStIS0N6Yz0
and i use this command: download.file(zip_package_url, destfile = zip_file, method='auto', quiet = FALSE, mode = "w",cacheOK = TRUE,extra = getOption("download.file.extra"))

@valentina.marioli@isti.cnr.it , Ok you can remove the account imzilen.taha@gmail.com
Thank you

#5 Updated by Valentina Marioli over 2 years ago

  • Status changed from New to In Progress

#6 Updated by Valentina Marioli over 2 years ago

@taha.imzilen@ird.fr, could you try using this command: download.file(getRoot, filename, method="wget", quiet = T, mode = "w",cacheOK = FALSE) ?
Thanks.

#7 Updated by Valentina Marioli over 2 years ago

  • Assignee changed from Valentina Marioli to TAHA IMZILEN

#8 Updated by Valentina Marioli over 2 years ago

  • Status changed from In Progress to Feedback

#9 Updated by TAHA IMZILEN over 2 years ago

Dear Valentina,
Thank you! it works greatly!!

#10 Updated by Pasquale Pagano over 2 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF