Install R package

From Alteryx Designer version 8.5 or greater, go to Help--> Install Predictive Tools. This will install the R program and the Predictive tools that use R.

If you do not see this option and are running version 8.5 or greater, you may use the link below to download the R installer.

Alteryx Predictive Analytics

Alteryx Designer Desktop includes a suite of Predictive Analytics tools that use R, an open-source code base used for statistical and predictive analysis. In order to use the Predictive Macros in Alteryx, users must install R and the packages used by the R tool.

Alteryx versions 8.5 and greater have an integrated R install that includes: R version 3.0.1, Alteryx Macros, Alteryx sample modules, and the R Packages listed below.

  • R for Windows
  • AlteryxRDataX: This package provides connectivity between Alteryx and R as well as a number of functions to facilitate the interaction between Alteryx and R.

CRAN Packages:

  • arules: Mining Association Rules and Frequent Itemsets
  • arulesNBMiner: Mining NB-Frequent Itemsets and NB-Precise Rules
  • arulesSequences: Mining frequent sequences
  • arulesViz: arulesViz - Visualizing Association Rules and Frequent Itemsets
  • car: Companion to Applied Regression
  • colorspace: Color Space Manipulation
  • dichromat: Color Schemes for Dichromats
  • flexclust: Flexible Cluster Algorithms
  • FNN: Fast Nearest Neighbor Search Algorithms and Applications
  • forecast: Forecasting functions for time series and linear models
  • fracdiff: Fractionally differenced ARIMA aka ARFIMA(p,d,q) models
  • gclus: Clustering Graphics
  • GPArotation: GPA Factor Rotation
  • Hmisc: Harrell Miscellaneous
  • igraph0: Network analysis and visualization
  • limSolve: Solving Linear Inverse Models
  • lpSolve: Interface to Lp_solve v. 5.5 to solve linear/integer programs
  • modeltools: Tools and Classes for Statistical Models
  • mgcv: Mixed GAM Computation Vehicle with GCV/AIC/REML smoothness estimation
  • munsell: Munsell colour system
  • plyr: Tools for splitting, applying and combining data
  • quadprog: Functions to solve Quadratic Programming Problems
  • randomForest: Breiman and Cutler's random forests for classification and regression
  • Rcpp: Seamless R and C++ Integration
  • RcppArmadillo: Rcpp integration for Armadillo templated linear algebra library
  • rgeos: Interface to Geometry Engine - Open Source (GEOS)
  • rjava: Low-level R to Java interface
  • rpart.plot: Plot rpart models. An enhanced version of plot.rpart
  • scales: Scale functions for graphics
  • scatterplot3d: 3D Scatter Plot
  • seriation: Infrastructure for seriation
  • sm: Smoothing methods for nonparametric regression and density estimation
  • sp: Classes and methods for spatial data
  • stringr: Make it easier to work with strings
  • tseries: Time series analysis and computational finance
  • TSP: Traveling Salesperson Problem (TSP)
  • vcd: Visualizing Categorical Data
  • vioplot: Violin plot
  • zoo: S3 Infrastructure for Regular and Irregular Time Series (Z's ordered observations)

For more information on R, please visit their website: