[R] Test internet presence
David Barron
mothsailor at googlemail.com
Mon Sep 11 12:08:37 CEST 2006
I means non-zero, not non-negative.
On 11/09/06, David Barron <mothsailor at googlemail.com> wrote:
> The function download.file (invisibly) returns a non-negative integer
> if it fails, so I suppose you could use this as a test.
>
> On 11/09/06, Gregor Gorjanc <gregor.gorjanc at bfro.uni-lj.si> 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?
> >
> > Thanks!
> >
> > --
> > 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 at 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.
> >
>
>
> --
> =================================
> David Barron
> Said Business School
> University of Oxford
> Park End Street
> Oxford OX1 1HP
>
--
=================================
David Barron
Said Business School
University of Oxford
Park End Street
Oxford OX1 1HP
More information about the R-help
mailing list