After running WordCloud function R studio stop responding. I have terminate the session but nothing works, restated my machine but no help

Does this work for you in R, but not in RStudio? (see FAQ below for disambiguation)