title: Importing and extracting a random sample from a large .CSV in R
body: <p>I'm doing some analysis in R where I need to work with some large datasets (10-20GB, stored in .csv, and using the read.csv function).</p>
  
  <p>As I will also need to merge and transform the large .csv files with other data frames, I don't have the computing power or memory to import the entire file. </p>
  
  <p>I was wondering if anyone knows of a way to import a random percentage of the csv.</p>
  
  <p>I have seen some examples where people have imported the entire file and then used a separate function to create another data frame that is a sample of the original, however I am hoping for something a little less intensive.</p>