title: R: fill down multiple columns
body: <p>I'm using fill() from the tidyr package. <code>fill(df, colname1, colname2, colname3)</code> works fine, until I found a dataset with 32 variables. How should I fill down all columns without typing each name?</p>
  <p>I've tried:</p>
  <pre><code>fill(df,colnames(df)),
  fill(df,1:32), 
  fill(df,colname1:colname32). 
  </code></pre>
  <p>and produced the following errors:</p>
  <pre><code>Error: All select() inputs must resolve to integer column positions.
  The following do not:
  *  colnames(df1)
  
  Error: tinyformat: Not enough conversion specifiers in format string
  
  Error: tinyformat: Not enough conversion specifiers in format string
  </code></pre>