<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3429" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff>Mesmo assim não deu, ele acusa 
agora</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff>Erro em htmlParse(getURL(dPath)) : 
<BR>  não foi possível encontrar a função "getURL"<BR></FONT></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial 
size=2>library(XML)<BR><BR>2011/6/2 Mauro Sznelwar <</FONT><A 
href="mailto:sznelwar@uol.com.br"><FONT face=Arial 
size=2>sznelwar@uol.com.br</FONT></A><FONT face=Arial size=2>>:<BR>> 
Estava vendo a discussão, tentei rodar isto e não consegui, não reconhece 
o<BR>> comando xpahApply. Tem que chamar alguma bibliotéca para isto?<BR>> 
Tente assim:<BR>><BR>> dPath <-<BR>> "</FONT><A 
href="http://aspera.jpl.nasa.gov/download/pub/sea_surface_temperature/avhrr/pathfinder/data_v5/monthly/night/04km/1986/bsst/"><FONT 
face=Arial 
size=2>http://aspera.jpl.nasa.gov/download/pub/sea_surface_temperature/avhrr/pathfinder/data_v5/monthly/night/04km/1986/bsst/</FONT></A><FONT 
face=Arial size=2>"<BR>> f <- xpathApply(htmlParse(getURL(dPath)), "//a", 
xmlAttrs,<BR>> 'href')[c(FALSE, TRUE, FALSE)]<BR>> mapply(download.file, 
file.path("</FONT><A href="http://aspera.jpl.nasa.gov/"><FONT face=Arial 
size=2>http://aspera.jpl.nasa.gov/</FONT></A><FONT face=Arial size=2>", 
f),<BR>> basename(unlist(f)))<BR>><BR>> mailman/listinfo/r-br<BR>> 
</FONT></BODY></HTML>