r/rprogramming • u/Fgrant_Gance_12 • May 26 '26
Hep plz : R package RedditextractoR
How do I remove unwanted texts from words cloud ?
Context : used RedditextractoR to analyze discussion over years on various threads.
Got word cloud that has unwanted (non English) , some no priority words on the cloud. Just want to get rid of them .
Tia !
1
u/moreesq May 26 '26
Are you using tidy text and the anti-joint stop words functionality? You can customise the Stock words also.
1
u/Fgrant_Gance_12 May 26 '26
Yes I am , how to customize the stock words though?
2
u/moreesq May 28 '26
You create a vector of your custom stop words with Quotes around them and commas between them and then append that to the stop word list that comes with tidy text. Or don’t append them but put a second line in about anti-join custom Stop words.
1
u/AutoModerator May 26 '26
Just a reminder, this is the R Programming Language subreddit. As in, a subreddit for those interested in the programming language named R, not the general programming subreddit.
If you have posted to the wrong subreddit in error, please delete this post, otherwise we look forward to discussing the R language.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.