Trying to get Tableau to display a simple R visual (word cloud) but I can't get it work. Any help would be appreciated.
R code:
library(wordcloud)
library(tm)
cp <- Corpus(VectorSource('asdf gato perro 98945'))
wordcloud(cp)
The table calculation in Tableau looks like this:
SCRIPT_STR("library(wordcloud)
library(tm)
cp <- Corpus(VectorSource('asdf gfg ff 98945'))
wordcloud(cp)",ATTR([SampleMeasure1]))
My question is how can I display the above word cloud without supplying a measure (SampleMeasure1)? Is it even possible to display an R word cloud in Tableau? If so could anyone please provide a simple example what the calculation should look like?Thank you

