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.
When you run a preexisting R tool or with a new R tool that is blank and the error occurs "Error in readRDS(dest)" and the workflow stops at the R tool.
Error: R (1): Error in readRDS(dest) : error reading from connection The above error will appear in the R.exe (if you are running test from that) or in the results window of the workflow itself.
The main reason this might be occurring is if there is limited space on the disk where Alteryx is installed which would cause packages from stopping partially through the process. If you check and there is enough space then it could be R stopped for other outside similar to antivirus or firewall.
If you open the R.exe located at (%install_location%\Alteryx\R-3.6.3\bin) by double clicking the exe and execute a simple command such as library() command with a library that you have installed (you can double check in the R-3.6.3\library folder. The error should occur again but outside of designer.
If there is limited space on the disk where Alteryx is installed, after making room on that drive you can run the workflow again after following the below steps.
Make sure all Designer's are closed.
Open the R.exe located at (%install_location%\Alteryx\R-3.6.3\bin) and run install.packages(" ") (you can pick any random package that is not already installed) (If you have run out of space the cmd prompt should let you know as well)
After you have successfully installed a package close the cmd prompt and try to execute the same workflow or an empty R tool and the error should no longer be present.