title: How to remove columns with same value in R
body: <p><strong>In short:</strong></p>
  
  <p>I want to do this with my table,</p>
  
  <p><img src="https://i.stack.imgur.com/sZalP.png" alt="enter image description here"></p>
  
  <p><strong>Explanation:</strong></p>
  
  <p>I have big table with 20,000 x 1,200 items. I want to remove all the columns which have all the values same from top to bottom. But it shouldn't change the variable name(V2 in the example) so that later I can figure out which one them is removed. </p>