title: Extract Links from Webpage using R
body: <p>The two posts below are great examples of different approaches of extracting data from websites and parsing it into R.  </p>
  
  <p><a href="https://stackoverflow.com/questions/1395528/scraping-html-tables-into-r-data-frames-using-the-xml-package">Scraping html tables into R data frames using the XML package</a></p>
  
  <p><a href="https://stackoverflow.com/questions/2443127/how-can-i-use-r-rcurl-xml-packages-to-scrape-this-webpage">How can I use R (Rcurl/XML packages ?!) to scrape this webpage</a></p>
  
  <p>I am very new to programming, and am just starting out with R, so I am hoping this question is pretty basic, but given those posts above, I imagine that it is.</p>
  
  <p>All I am looking to do is extract links that match a given pattern.  I feel like I could probably use RCurl to read in the web pages and extract them brute force method using string expressions.  That said, if the webpage is fairly well formed, how would I go about doing so using the XML package.  </p>
  
  <p>As I learn more, I like to "look" at the data as I work through the problem.  The issue is that some of these approaches generate lists of lists of lists, etc., so it is hard for someone that is new (like me) to walk through where I need to go.</p>
  
  <p>Again, I am very new to all that is programming, so any help or code snippets will be greatly appreciated.  </p>