Easily shop verified, supported, and secure Partner and Alteryx built Add-Ons on Marketplace.
LEARN MOREThe Install R Packages app provides an easy to use interface for installing R packages to be used with Alteryx. Packages are installed in the user's personal R library folder, which is a folder that R searches for by default to find available R packages.
How can i get the download option here?
When I load the workflow I am getting the below error. Can someone please advise how I resolve this?
@CloonanThat error message looks like an indicator that you do not have Predictive Tools installed for this Designer version. The Predictive RTools installer can be found under Alteryx Designer at downloads.alteryx.com
Do I need to be logged in as an Admin to install these tools?
I find it best to specify the contriburl argument in install.packages() because some of the packages in 4.1 aren't compatible with the packages bundled with the latest version of Alteryx. Check out my post on the subject.
This app won't work for every package because it draws from a CRAN that is continually updated by many packages authors (over 18,000 packages), whereas Predictive Tools is not continually updated. The best way for Alteryx to solve this issue is to host your own CRAN - one that is not updated by regular package authors. In other words, provide a snapshot of ALL R packages that were available at the time Alteryx developed Predictive Tools. Then, in this app, change the repo argument in install.packages() to the CRAN hosted by Alteryx. Check out my idea on the subject. Until then, installing new R packages with Alteryx is nothing more than a cause for a bug report.
Can someone please help with this error?
I've never experienced this error code before. What package were you trying to install, please? I did a quick Google search and this error code pops up for all sorts of programs, indicating it might not be R/Alteryx causing the problem.
It is for the xlsx package!
I've got two suggestions, the second one is a bit lame - reinstall - but hopefully the first suggestion will work for you... I have just tried this on my machine, which runs Alteryx 2022.1 (R-4.1.3), and it works.
Install the xlsx package using R
If there is a problem installing an R package within Alteryx, then you should try installing an R package outside of Alteryx. I'll assume you don't know how to do this, so I will walk you through.
.libPaths()
install.packages("xlsx")
library("xlsx")
So, now we need to use this in Alteryx! Make a note of the location of the package (ie. whatever R tells you when you installed the package) and pop this command in a R Tool
library("xlsx", lib.loc = "full/path/where/the/package/directory/exists")
For example, if your package is here, C:\Users\my_name\Documents\R\win-library\4.1\xlsx, then type this in a R tool (note the forward slashes - backslashes have a special meaning in R)
library("xlsx", lib.loc = "C:/Users/my_name/Documents/R/win-library/4.1")
Then carry on with the rest of your R code! Please note, if you output .libPaths() in a R Tool, you may find that the location of your xlsx package is already in the list. If this is the case, then you don't need to specify the lib.loc argument.
Good luck!
Very helpful, thank you!
I received this error when trying to install pdftools via this R package
What version of R is your Alteryx running? If you don't know, place an empty R tool into a workflow and run. The first message output from the tool will give you the R version. You may have to use a different version of R or find an older version of pdftools that works with your current R.
I receive this error when trying to run optimiser tool in Alteryx. Finding it hard to work out what the problem is, other than the fact R packages need updating within Alteryx, something I don't have necessary permissions to do. Anyone else experienced this error message and if so is it just a matter of getting IT to update our R packages within our version of Alteryx? (Version used is Info: R (59): R version 3.6.3 (2020-02-29) - x86_64)