title: What is the optimal system configuration required for doing data analysis in R
body: <p>Original dataset is ~0.75 million rows with 7 variables. After some basic feature engineering, it became 81 int variables. In order for easy manipulation during initial stages, I chose to take just 0.01% as my training set using the below script</p>
  
  <pre><code>sub &lt;- sample(nrow(d), floor(nrow(d) * 0.01))
  train &lt;- d[sub, ]
  test &lt;- d[-sub, ]
  </code></pre>
  
  <p>To build an initial model was trying to do dimension reduction / PCA on this training dataset.</p>
  
  <pre><code>require(leaps)
  require(MASS)
  
  initialBasicSubSet &lt;- regsubsets(myVariable ~ ., data = train, nvmax = 25, really.big=T)
  </code></pre>
  
  <p>The problem is this code seems to run forever. As of now it has been running for more than 9 hrs! Since I am pretty new to R &amp; data analysis want to know whether this is something abnormal (considering there is only ~7000 records with 81 int variables)? </p>
  
  <p>Below is the configuration of my laptop and wanted to know from people who are doing data analysis using R on whether this suffices or is there any other specific configuration should I upgrade to?</p>
  
  <p>System Configuration:</p>
  
  <pre><code>HP Pavilion dv6 Notebook PC
  Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
  8 GB RAM
  64 bit OS - Windows 7 Home Premium
  </code></pre>