Код: Выделить всё
library(rvest)
library(stringr)
url <- "http://wdc.aari.ru/datasets/atlas/ecimo/chukchi/Fields/TEM/"
webpage <- read_html(url)
tbl <- html_node(webpage, "table")
Df <- as.data.frame(html_table(tbl))
NRows <- nrow(Df)
for (i in 1:NRows)
{
CurNameFile <- Df[i,'Name']
class(CurNameFile)
YesPoint <- str_detect(CurNameFile,".PNG")
print(YesPoint)
if(YesPoint)
{
print(CurNameFile)
}
}