Welcome to the Alteryx Knowledge Base

Install R Packages
user

Created/Edited - 5/15/2026 by Criston Schellenger | Alteryx

Procedure

Looking to install additional R packages? There are multiple ways to do this. One way is to use our Install R Packages app:

 


Download the Install R Packages app found in the Predictive and ML section of the Community Gallery:

 

2022-03-01_12-19-10.png
 
 
Open Install+R+Packages.yxzp and run the app. Provide a comma-delimited list of the packages you'd like to install:
 
 
R_install_package.png
 
 
 

Packages are installed in the user's personal R library folder (example: C:\Users\%windows_account%\Documents\R\win-library\%R_version% where %R_version% is the current R version, like 3.4 for example). It is one for the folders that R searches by default to find available R packages. If installing to a different folder, ensure you have write permissions to that folder.


Another common method would be to use the standard R package install function within the R Tool:

install.packages("package_name", repos="https://cloud.r-project.org")

Note that this function has several options that may be required depending on your environment and the package you are installing. For reference, documentation for this function can be found at this link .

 

Whatever method you use, don't forget to call that package in your R code, using library() .

Was this article helpful?