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.

Macro

Hi Everyone,
I am trying to build a macro using R code.
In another anchor I am providing default value in text box which will act as a condition in if statement.
It's throwing up an error.
Kindly help.
Also this workflow is pulling files from a directory. the file format can be xlsx,csv and json files.

 
 

 

 



2 REPLIES 2
mceleavey
17 - Castor
17 - Castor

Hi @mohitchowdhury123 ,

 

is there any reason you're trying to build it in R rather than simply using the standard macro function?

 

Obviously, without seeing your workflow and with little information about what you're trying to do it will be very difficult for us to help.

 

M.



Bulien

I need help with a function.
It's throwing error for conversion

data_list <- c(df_list, dt_list, json_df_list)
# Combine all data frames into a single data frame:
# ir_df => data.frame
ir_df <- Reduce(
function(x, y){
robust_rbind(x, y)
},
data_list
)
write.Alteryx(ir_df, 1)

Labels
Top Solution Authors