This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I have some R code that I would like to run on the Alteryx Gallery, but it uses the caret package. I have used this app to install the caret package locally for use with the Alteryx designer, and my code works with this package installed.
A cautionary note: As of the time of this writing (May 2016, newest version of Designer is 10.5), it's important to ensure that you only install packages that do not come with the Alteryx Predictive tools installation. You may end up installing a different version of a package that is used with the Predictive tools, and the conflicting versions can cause errors in these tools. We are currently working on an improvement that will solve this problem. The improvement should be available with the 10.6 Predictive release.
Here is the response I received back from Alteryx support:
I took a quick look at the community articles you referenced. The method referenced to install additional R packages should work without issue to install R packages on the server with 10.6 and higher. As noted in the second article you can still use this method to install R packages on the server with 10.5 and lower you would just need to be cautious not to install a package that is included with the Alteryx Predictive release. Since you have tested it on your workstation and it works as expected I would say it is likely safe to proceed.
I installed the R libraries from the command line as binaries since our server doesn't have internet access, and they work fine.