Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Setup the R tool to get different output to each anchor

Wojtek_Dz
8 - Asteroid

Hi,

 

How should I configure the R tool to get different output to each anchor with 5 seconds delay to each output (Sys.sleep(5)?)  ?

 

r_tool.png

7 REPLIES 7
apathetichell
19 - Altair

https://knowledge.alteryx.com/index/s/article/A-Cheat-Sheet-of-Functions-to-Use-in-the-R-Tool-158346...

 

write.Alteryx(OutputObject,1) (anchor 1)

write.Alteryx(OutputObject,2) (anchor 2)

Wojtek_Dz
8 - Asteroid

@apathetichell wrote:

https://knowledge.alteryx.com/index/s/article/A-Cheat-Sheet-of-Functions-to-Use-in-the-R-Tool-158346...

 

write.Alteryx(OutputObject,1) (anchor 1)

write.Alteryx(OutputObject,2) (anchor 2)

 

hi @apathetichell thanks for your response, could I kindly ask you to write whole code for me ? I’m beginner with r code :(

apathetichell
19 - Altair

if you have a workflow - you can upload this. but you need your dataframes in R. That's not really something I can help you with. I have no idea what you are doing. I'm just trying to explain that your Objects/DF can be channelled to specific output anchors as per your question.

Wojtek_Dz
8 - Asteroid

Hi @apathetichell  I uploaded my example workflow in my first post. Maybe it will be useful for you ?

apathetichell
19 - Altair

.yxmds dont include data files. .yxzp do. I don't really see the need for R in what you are trying to do.

Wojtek_Dz
8 - Asteroid

Ah yes sorry, here you go :)

Wojtek_Dz
8 - Asteroid

My solution in the attachment. 

Labels