title: tm_map: Can use the removewords function with my own stopwords registered as an txt file?
body: <p>I'm using the R tm package for text analysis on a facebook group, and find that the removewords function isn't working for me. I tried to combine the french stopwords with my own, but they are still appearing. So I create a file named "french.txt" with my own list as in the following command:</p>
  
  <pre><code>nom_fichier &lt;- "Analyse textuelle/french.txt"
  my_stop_words &lt;- readLines(nom_fichier, encoding="UTF-8")
  </code></pre>
  
  <p>Here is the data for text mining:</p>
  
  <pre><code>text &lt;- readLines(groupe_fb_ief, encoding="UTF-8")```
  docs &lt;- Corpus(VectorSource(text))
  inspect(docs) 
  </code></pre>
  
  <p>Here are the tm_map commands:</p>
  
  <pre><code>docs &lt;- tm_map(docs, tolower)
  
  docs &lt;- tm_map(docs, stripWhitespace)
  
  docs &lt;- tm_map(docs, removePunctuation)
  
  docs &lt;- tm_map(docs, removeNumbers)
  
  docs &lt;- tm_map(docs, removeWords, my_stop_words)
  </code></pre>
  
  <p>Applying that, it's still not working and I don't understand why. I even try to change to order of the commands with no result.</p>
  
  <p>Do you have any idea ? Is it possible to change the french stopwords within R ? Where this list is located ?</p>
  
  <p>Thanks!!</p>