title: Aesthetics must be either length 1 or the same as the data (10): x, fill in r shiny
body: <p>In R below code is working but inside r shiny it is giving error.</p>
  
  <p>code :</p>
  
  <pre><code>ggplot(df_score) + 
          geom_bar(aes(x=emotion, y=..count.., fill=hashTag),position = "dodge")
  </code></pre>
  
  <p>data :</p>
  
  <pre><code>   score hashTag
  1  Neutral   hash1
  2  Neutral   hash1
  3 Positive   hash1
  4  Neutral   hash1
  5  Neutral   hash1
  6 Negative   hash2
  </code></pre>
  
  <p>error :</p>
  
  <pre><code>Aesthetics must be either length 1 or the same as the data (10): x, fill
  </code></pre>
  
  <p>Thanks...</p>