Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

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
Top Solution Authors