Welcome to the Alteryx Knowledge Base
Created/Edited -
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:
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() .