We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

R tool data frame error

Ela597
6 - Meteoroid

Hello, 

 

I am trying to use the R tool in alteryx for an Anova test, but i am getting the following error:

Ela597_0-1620375264623.png

 

 The code i am trying to run: 

Ela597_1-1620375294562.png

 

Does someone know what i am doing wrong?

I've atached the flow.

Thanks in advance.

 

2 REPLIES 2
TheOC
16 - Nebula
16 - Nebula

hey @Ela597 !

Your issue is that you're trying to use the write.Alteryx function with data that is not a dataframe. You would need to convert it to a dataframe prior to exporting this data.

I have done something similar to your data, by adding these two lines to the end of your R tool configuration:

TheOC_0-1620391681913.png

 

 

Now, it exports the summary of your Anova variable:

TheOC_1-1620391714845.png



I have attached the edited workflow, i hope this helps!
TheOC

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
Ela597
6 - Meteoroid

Thankyou very much!

Labels
Top Solution Authors