title: Difference between char and character objects
body: <p><a href="https://cran.r-project.org/doc/manuals/r-release/R-lang.html#Objects" rel="noreferrer">From the language definition</a>:</p>
  
  <blockquote>
    <p>"char": a ‘scalar’ string object (internal only) ***<br>
    "character": a vector containing character values</p>
    
    <p>Users cannot easily get hold of objects of types marked with a ‘***’.</p>
  </blockquote>
  
  <pre><code>y &lt;- "My name is hasnain"
  class(y)
  </code></pre>
  
  <p>The class functions tells that 'y' belongs to the character class. What I have perceived is that 'y' is an object which is of char type and it belongs to character class. Does the character object also belongs to the character class?</p>