title: R- Return Constant column value
body: <p>I omitted columns that are constant from a data frame </p>
  
  <pre><code>DataNew &lt;- Data[, dataPreparation::whichAreConstant(Data, verbose= FALSE)]
  </code></pre>
  
  <p>However I want a list of unmatched columns with their constant value </p>
  
  <p>I tried this command to get the list of unmatched columns but I want also the columns values </p>
  
  <pre><code>setdfiff(Data, DataNew)
  </code></pre>