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'm worried that the difference in R versions might be causing a problem. That macro was built for R-3.4.4 and it looks like you're using R-4.0.4 which comes with Designer 2021.2. I'm not sure what version of 'pdftools' you obtained since it depends on the method and source. Might be worth double checking.
Are there any messages in the results window from the R tool that might indicate a version compatibility issue?
Unfortunately, there is no compatibility issue that was shown. However, what was most interesting is that when I tried to replicate the R code in an R tool, it generates the same error and when trying to reinstall the package using the Analytic app (Install R package), the transcrib.yxzb shows an empty output (meaning that it's already installed I think)
Do you have the Admin version of Alteryx? I just ran the update.packages() command on my machine and didn't get your error, so these steps seemed to work:
Firstly navigate to this R.exe: - "C:\Program Files\Alteryx\R-4.0.4\bin\R.exe"
Then right click it and 'run as administrator',
Then type in 'update.packages()' and hit 'y/n' for the packages until you reach Rcpp (where you should hit 'y').
Then let it do its thing.
If you've got the local version, then I think you'll need to navigate to the 'R.exe' in "C:\Users\[User]\AppData\Roaming\Alteryx" (I can't remember exactly where in there it is I'm afraid).
If you didn't want to do the update.packages(), then deleting the 'Rcpp' folder in either "C:\Program Files\Alteryx\R-4.0.4\library" (admin) or "C:\Users\[User]\AppData\Roaming\Alteryx\R-library" (non-admin)
and then install it to that location again either using the R.exe mentioned above, or the Install R packages app available here: [link]