Answers for "My Web Scrapping Code 2"

0

My Web Scrapping Code 2

library(RDCOMClient) 
u <- "http://stackoverflow.com/questions/tagged?tagnames=r"
ie <- COMCreate("InternetExplorer.Application") 
ie$Navigate(u)
txt <- list()
txt[[u]] <- ie[["document"]][["body"]][["innerText"]] 
ie$Quit() 
print(txt)
Posted by: Guest on May-06-2021

Browse Popular Code Answers by Language