title: How to view webpage source code using R?
body: <p>I need to use R to download the source code for a webpage.</p>
  
  <p>When I click on "View source code" in Firefox, I see all of the source code.
  However, when I use RCurl to download the sourcecode, I only see a part of it. The parts that are missing are produced by Javascript, so maybe that's the problem? Can RCurl not see Javascript-produced information?</p>
  
  <p>How can I get the source code into R? Either through RCurl like I've tried or into a txt file, THEN loaded into R would be fine.</p>
  
  <p>Thanks</p>