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.

R and Alteryx

Lamya523
5 - Atom

Hi everyone 

 

My question is really simple. I hope I can get the answer how as I have been looking everywhere for it but no results.

 

 

My question is:  how can I save a data from alterx (output data) in R.data format? To simply it and use it in my R studio??

 

 

If there is anyway to do this please let me know and if R tool can solve it please let me know and how to use it

 

 

Thank you very much 

1 REPLY 1
mbarone
16 - Nebula
16 - Nebula

Not using an Alteryx Output Data Tool you can't.  If you have a data stream that ends in data you want to output in R, then you'd have to use the R-tool to read it in, and then use R-code in the tool to write it out.

 

For example, say I have incoming stream [#1] from Alteryx.  I connect it to the R-tool and then my R-code within the R-tool is this:

 

incoming.data <- read.Alteryx("#1", mode="data.frame")

saveRDS(incoming.data,"C:\\Users\\mbarone\\OneDrive - Paychex\\Desktop\\Altyerx_to_RDS.RDS")

 

The file Alteryx_to_RDS.RDS is then an RDS file.

Labels
Top Solution Authors