title: How to pass column name as parameter to function in dplyr?
body: <p>I want to do the same as <a href="https://stackoverflow.com/questions/4722929/passing-column-name-as-parameter-to-function-in-r-language">here</a> but with dplyr and one more column.</p>
  
  <p>I want to selecting a column via a string variable, but on top I also want to select a second column normally.
  I need this because I have a function which selects a couple of columns by a given parameters.</p>
  
  <p>I have the following code as an example:</p>
  
  <pre><code>library(dplyr)
  data(cars)
  
  x &lt;- "speed"
  cars %&gt;% select_(x, dist)
  </code></pre>