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.
SOLVED

Parameter for R Tool

renanpinheiro
7 - Meteor

Hello guys,
I am creating a Macro that uses the R Tool. I need to pass to this Tool a parameter that will be entered by the user and will be used in a calculation.
How do I do that?

1 REPLY 1
PaulN
Alteryx Alumni (Retired)

Hi @renanpinheiro,

 

 

It is possible to access interface tools values from R tool.

 

To proceed, use '%Question.tool_name%' where tool_name is the name of the interface tool.

 

Example:

 

In the following, I have a Numeric Up Down tool called "ValueToAdd"

 

RandInterfaceTools.png

 

ValueToAdd value could be used in R tool thanks to :

 

myValue <- '%Question.ValueToAdd%'

 

Please find attached a simple example.

 

Kind regards,

 

Paul

 

 

Labels