Re: [R] Test internet presence

From: Gregor Gorjanc <gregor.gorjanc_at_bfro.uni-lj.si>
Date: Mon 11 Sep 2006 - 10:33:22 GMT

Gregor Gorjanc wrote:
> Hello useRs!
>
> I have a small package and I need internet access for examples. Of
> course it works fine when I have internet access, but not otherwise. I
> remember I saw a way to test availability of internet access, but I can
> not find it now in archives. Can anyone here help me?
>
> David Barron wrote:

>> I means non-zero, not non-negative.
>>

> ...
>
> Thanks. download.file() is fine!
>

Thinking a bit more, download.file() is not really general as I need to specify an url and it might happen that I have internet connection, but server that provides url is down. I am to picky on this?

-- 
Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty
Zootechnical Department     URI: http://www.bfro.uni-lj.si/MR/ggorjan
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si

SI-1230 Domzale             tel: +386 (0)1 72 17 861
Slovenia, Europe            fax: +386 (0)1 72 17 888

----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.

______________________________________________
R-help@stat.math.ethz.ch 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 Mon Sep 11 20:41:30 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 11 Sep 2006 - 12:30:04 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.