Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Logistic Regression: Error in PDF

kylie_k
5 - Atom

I have built a workflow with a logistic regression tool that I handed off to a client to manage. The workflow is running fine on my machine but when the client opens the package on their desktop and tries to run it, they are getting error messages that I have never seen regarding an "Error in PDF(null): failed to initialise default PDF font". Any ideas on how to resolve this error? There is no PDF related component in the workflow. After the regression tool, the output goes into a scoring tool. Any suggestions appreciated.

 

Edit: the R installer is already installed.error message- logistic.pngScreenshot 2023-08-12 154517.png 

5 REPLIES 5
ArnaldoSandoval
12 - Quasar

Hi @kylie_k 

 

It seems that you are experiencing a compatibility issue with your client, based on the error message shown:

 

Logistic-Regressions-01.png

  • The "LogisticRegression" tool number 126 in your workflow is experiencing an initialization error at its tool #127, the 127 tool in that macro is an R-tools.
  • These macros should run out of the box without any error, although, as they depend on other components (like R, Python, etc) chances are both environment are not sharing the same version of these products.
  • You may change your workflow parameters by checking "Show all macro messages" located at the Workflow Configuration ==> Run Time ==> [] Show all macro messages; once you enable this option (at your client Alteryx) the log output will be a little more descriptive.

 

Suggestions:

  • Verify the same version of the Predictive Tools are installed in both places.
  • Verify the same version of R is installed at both places.
  • If this is happening on a workstation (laptop) can you try on a different one.

 

Hope this helps,

Arnaldo

 

caltang
17 - Castor
17 - Castor

Yes, make sure that they have the R Predictive Tools are installed on their PCs as well. When you export the workflow, make sure to package it so that all assets follow along. 

 

Sometimes your Alteryx versions may differ and that may cause some issues as well - so be mindful of the difference if any. Otherwise, @ArnaldoSandoval's solutions are the go-to.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
ArnaldoSandoval
12 - Quasar

Hi @kylie_k and @caltang 

 

I just found this knowledge article How To Use the R Tool with Packages Compatible with R Version 4.1.3 which could be relevant to your issue.

 

Arnaldo

kylie_k
5 - Atom

Thank you for the responses @ArnadoSandoval and @caltang! 

 

Is it necessary for the workflow to be exported by the same Alteryx version that my client will use? I.e. I built the workflow on Alteryx version 2022.1.42604 and will export it and my client needs to use version 2022.1.42604 when opening the package?

 

I am meeting with them tomorrow and will update the post accordingly when we resolve. Thanks again!

ArnaldoSandoval
12 - Quasar

Hi @kylie_k 

 

That's very important that you either use the same version of your client or upgrade them to your version; a mixed version is not adviseable.

Labels