title: use more than 100 features lm function in R
body: <p>Assume I have a dataframe consisting of 101 columns, where the first 100 are named data1 to data100 and the 101th column is named y.</p>
  <p>If I want to use the lm function in R where data1 to data100 are the features.</p>
  <p>I know this can be written as:</p>
  <pre><code>lin_reg &lt;- lm(y ~ data1+...+data100, dataframe)
  </code></pre>
  <p>Is there a better way of doing this?</p>