[R] how to know if a file exists on a remote server?

jim holtman jholtman at gmail.com
Tue Nov 30 17:12:40 CET 2010


?file.exists

On Tue, Nov 30, 2010 at 11:10 AM, Baoqiang Cao <bqcaomail at gmail.com> wrote:
> Hi,
>
> I'd like to download some data files from a remote server, the problem
> here is that some of the files actually don't exist, which I don't
> know before try. Just wondering if a function in R could tell me if a
> file exists on a remote server? I searched this mailing list and after
> read severals mails, still clueless.  Any help will be highly
> appreciated.
>
> B.C.
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?



More information about the R-help mailing list