title: How much space does each datatype in R require in memory? Which is the smallest?
body: <p>I want to keep the size of my dataset to a minimum so I was wondering about the different data types in R and which one requires the least space.</p>
  <p>Specifically if I have an integer (e.g. 1) vs a character (e.g. &quot;a&quot;) which requires less space to store?</p>
  <p>Thanks!</p>