
2 Jun
2011
2 Jun
'11
01:20
Estava vendo a discussão, tentei rodar isto e não consegui, não reconhece o comando xpahApply. Tem que chamar alguma bibliotéca para isto? Tente assim: dPath <- "http://aspera.jpl.nasa.gov/download/pub/sea_surface_temperature/avhrr/pathfi..." f <- xpathApply(htmlParse(getURL(dPath)), "//a", xmlAttrs, 'href')[c(FALSE, TRUE, FALSE)] mapply(download.file, file.path("http://aspera.jpl.nasa.gov/", f), basename(unlist(f))) mailman/listinfo/r-br