Skip to content
Back to formatted view

Raw Message

Message-ID: <BAY101-DAV9jnZS08i700018bf4@hotmail.com>
Date: 2004-11-15T13:33:28Z
From: Jonathan Croft
Subject: Error when scan()ning dead URL's

Hi,

I often scan web pages directly into R using

scan('http://etc...','')

however this gives an error if the page/url doesn't exist, or the connection
to it is not available.
Is it possible to still use scan but have R return something other than an
error (which crashes code)
when the page or the connection isn't available.

Cheers

John Haynes