title: High Dimensional Dataset: Error: protect(): protection stack overflow
body: <p>I am running a forward selection regression model with 20,000 gene expressions in R:</p>
  <pre><code>select.genes.fwd = SignifReg(lm(log_daystodeath ~ . - 
          patient_ID - age - vitalstatus - daystodeath - 
          pathologicstage - gender - radiationtherapy - 
          number_packs_smoked_per_year - race, 
    data = lungCancerData, na.action = na.omit), 
    direction = &quot;forward&quot;, criterion = &quot;AIC&quot;,
     correction = &quot;None&quot;, trace = F)
  </code></pre>
  <p>and I am getting an error message that reads:</p>
  <blockquote>
  <p>Error: protect(): protection stack overflow</p>
  </blockquote>
  <p>I have already tried increasing the <code>R_MAX_VSIZE=100Gb</code> in <code>.Renviron</code> from my command line and I've also tried</p>
  <pre><code>R --max-ppsize=5000000
  </code></pre>
  <p>within my command line and reran my model in R Markdown, but I still get the same error message.</p>