Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

BatchPDFInput.yxmc

AshleenKenney
7 - Meteor

Hi All

 

I am looking for help reading in pdf files. I downloaded Alteryx Designer 2021.2.2 and Alteryx Designer 2021.2.2 R Tools; however,

when I try to run the BatchPDFInput.yxmc I receive the following error: 

 

Error: R (2): Error in loadNamespace(name) : there is no package called 'pdftools'

 

I searched the community but couldn't find any help on resolving this error message. 

Thanks!

alteryx error.PNG

4 REPLIES 4
markcurry
12 - Quasar

Hi @AshleenKenney 

 

You should be able to download the pdftools package, I've attached a workflow that you can run which should install the package for you.  Make sure if runs successfully, as I've seen it fail the first time round. 

 

Hope that sorts it for you,

 

Mark

AshleenKenney
7 - Meteor

@markcurry  Thanks for the quick response

As you mentioned the first time I ran the Install pdftools I received a warning but on the second attempt it seemed to work.

But I am still receiving the same error message, any other suggestions? Thanks again!

alteryx install pdf tools.PNG

error2.PNG

 

markcurry
12 - Quasar

Hi @AshleenKenney 

 

Well at least it's progress, that it's not saying it can't find the pdftools package.  I presume the BatchPDFInput.xymc macro that your are trying to run is part of the PDF Input Tool, if I try to run that directly I also get an error. (Although I get 'Error in normalizePath(path.expand(path), winslash, mustWork) :').  This macro won't run directly, as it's a expecting the action tool to replace 'Placeholder' in the Text Input tool.  You can replace this with the path to a pdf, and try to running it. but make sure you don't save the .xymc file, or make sure that you revert the value to 'Placeholder'.

 

If it's not the PDF Input Tool you are using, you can download it from here:

Solved: PDF Input (1) BatchPDFInput (26): Cannot find macr... - Alteryx Community

 

Hope that helps

OllieClarke
16 - Nebula
16 - Nebula

Hi @AshleenKenney apologies for the (very) late response on this, but if you're still having issues then I think you just need to update the version of pdftools/RCPP which is installed on your machine. There's a thread with the necessary steps available here. 

Labels
Top Solution Authors