title: R removewords() does not work
body: <p>I am a novice in R , and  I am looking for a way to delete some english words using stopwords</p>
  
  <p>here the function I have made :</p>
  
  <pre><code>cleanfunction  &lt;- function(test) {
  test &lt;-removeWords(test,stopwords("en"))
  test&lt;-gsub("\\b[A-z]\\b{1}"," ",test)
  test&lt;-gsub("\\W"," ",test)
  test&lt;-gsub("\\d"," ",test)
  test&lt;-stripWhitespace(test)
  
  return (test)
  }
  
  Mdatasub2 &lt;-aggregate(Reviews ~ Product.Name,data =Mdatasub2,FUN=cleanfunction)
  </code></pre>
  
  <p>The things is , it does not delete  "the" ,"just" ,"this" "got" </p>
  
  <p>Thanks in advance</p>