Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

R Wordcloud2 - Has anyone had success connecting it to Alteryx?

mcalee1
6 - Meteoroid

Please share how you were able to connect (apply) the R wordcloud2 package to your Alteryx workflow.

https://cran.r-project.org/web/packages/wordcloud2/index.html

 

Thank you

5 REPLIES 5
ArtApa
Alteryx
Alteryx

Hi @mcalee1 - Did you know that there is a native Word Cloud tool? https://help.alteryx.com/current/designer/word-cloud 

mcalee1
6 - Meteoroid

Hi ArtApa,

 

Yes, but Wordcloud2 offers a few more features than wordcloud (installed on Alteryx). 

Check out: https://cran.r-project.org/ 

Wordcloud (native to Alteryx)and wordcloud2 are both listed packages on the site.  Both package descriptions are provided for comparison.  

 

Wordcloud2 in my opinion is superior and I would like to start incorporating it in my reports. Just need to know if it is possible to use this package in the Alteryx environment and what that would look like.

 

Cheers

TheOC
15 - Aurora
15 - Aurora

hey @mcalee1 

Only a half answer from me I'm afraid, im not familiar with wordcloud2, or the output it produces. However, I have attached a workflow that imports wordcloud 2 and creates a wordcloud based on a demo dataset. 

However, outputting this is difficult, as it seems to be a wordcloud specific object, and the library doesn't give an easy way to drop out an image. You may want to look at shiny for an interactive output:

https://github.com/Lchiffon/wordcloud2



Bulien
mcalee1
6 - Meteoroid

TheOC,

 

Thank you for your response,  The tool runs when I apply it to my data; however, it does not produce an output.

TheOC
15 - Aurora
15 - Aurora

hey @mcalee1 

Yeah this is the problem i faced/described. It produces a wordcloud object, that cant be output to a dataframe (which is what is required for R tool to output something into the workstream). You would have to look at the documentation i sent for how to export it as a HTML file, or look into outputting it as binary data and then using that with the image tool in Alteryx 

Hope this helps,
TheOC


Bulien
Labels