On Mon, 11 Sep 2006, [EMAIL PROTECTED] wrote:

> On 11-Sep-06 Gregor Gorjanc wrote:
> > It seems that 'internal' method was used (I use R 2.3.1 under
> > Linux) as indicated in help page of download.file. I could
> > use wget or lynx methods, but these two must be available,
> > so this is not really portable. Are there any other options
> > for testing internet access? I am thinking that this might be
> > more relevant for R-devel. I will wait a bit
> > before moving there.

Check out tests/internet.R.  nsl() checks if you can resolve host names, 
which has worked well enough there.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
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.

Reply via email to