This tutorial contains commands to import data from web pages into R. There are three main topics explored in this article, importing .txt data from a web source, fetching data from an HTML table and downloading XML or JSON data content from webpages.