Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我相信这个包XML有一个解决方案。但是,哪个功能是正确的?
XML
例如: http ://en.wikipedia.org/wiki/List_of_deaths_on_eight-thousanders
我想有20张桌子。使用readHTMLTable您可以提取所有表:
readHTMLTable
url <- "http://en.wikipedia.org/wiki/List_of_deaths_on_eight-thousanders" library(XML) ll <- readHTMLTable(url) length(ll) [1] 20