Re: [R] download.file error

From: CHIB CO <chibco_at_hotmail.com>
Date: Tue, 01 Apr 2008 21:35:34 +0100

Hi John Seers,

thanks for the tip, it works.

Kind Regards

Chib

> Subject: RE: [R] download.file error
> Date: Tue, 1 Apr 2008 15:39:01 +0100
> From: john.seers_at_bbsrc.ac.uk
> To: chibco_at_hotmail.com; jholtman_at_gmail.com
> CC: r-help_at_r-project.org
>
> Hi Chib
>
> >>whether there is a way of handling the error you get in the
> download.file() function
>
> I think the function "try" will do this for you. That is, handle the
> error.
>
> Have a look at ?try.
>
> Regards
>
> John Seers
>
>
> ---
>
> -----Original Message-----
> From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-project.org]
> On Behalf Of CHIB CO
> Sent: 01 April 2008 15:28
> To: jim holtman
> Cc: r-help_at_r-project.org
> Subject: Re: [R] download.file error
>
> Hi Jim,
>
> I just wanted to know if there is a function in R that can tell you
> whether a file on the internet exists before you attempt to download it
> or whether there is a way of handling the error you get in the
> download.file() function without having it break a for loop with the
> download error when it is part of that loop.
> Kind Regards
> Chib



Win 100ís of Virgin Experience days with BigSnapSearch.com

        [[alternative HTML version deleted]]



R-help_at_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. Received on Tue 01 Apr 2008 - 22:00:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 Apr 2008 - 00:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive