title: How to add Double quotes and comma to a column in R dataframe?
body: <p>I have a dataframe with a single column. I want all values in the column to be wrapped in a double quote and comma like below.</p>
  
  <pre><code>df &lt;- data.frame("SN" = 1:4, "Name" = c("John", "Dora","Peter","Lilly"), stringsAsFactors = FALSE)
  
  df$Name 
  </code></pre>
  
  <p>When I extract the Name column, I want it <code>df$Name</code> as</p>
  
  <pre><code>"John",
  "Dora",
  "Peter",
  "Lilly"
  </code></pre>
  
  <p>I tried <code>paste</code>, <code>gsub</code> and <code>shQuote</code> but it doesn't give me the result that I want. Any help is appreciated.</p>