I try to reproduce this code for my case:
word_vec <- paste(c('bonkobuns ', 'exomunch ', 'calipodians ',
'relimited '), collapse="|")
gsub(word_vec, '', df1$text)
However I receive this error:
Invalid use of repetition operators
The problem is with the following expressions:
c("c++", "c#", "vb.net", "objective-c")
How can I include them into the word list?