Hello All,

I am trying to write a routine that loops over some links and parses those links using htmlParse.  The problem is that one of the links may display a pop up window on top of that link's web page.  If there is a pop up, the routine bombs and I get an error message that the url doesn't exist.

Does the XML package (or perhaps another package) provide a way to deal with this issue?

I've tried:

for(i in 1:len_links) {

. . .
cc <- try(htmlParse(xurl), silent=T)

if(is(cc,"try-error")) {next} 
  docc <- htmlParse(xurl)
. . .
}

That doesn't work.  Any ideas or help would be appreciated.

Thanks,
Winthrop
	[[alternative HTML version deleted]]

