powered by
Extract simple plain texts from a web page at a certain URL
gettxt(URL, encoding = "UTF-8", ...)
A character indicating the URL of a web page.
Encoding method (e.g., "UTF-8", "latin1", "bytes", "unknown", etc.).
Other htm2txt arguments.
htm2txt
A character containing plain texts converted from the htm document at the URL.
# NOT RUN { text = gettxt("https://www.wikipedia.org/") # }
Run the code above in your browser using DataLab