Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

I am using R tool in Alteryx and trying to execute below script "qic(y, chart = 'i')"

jsumitha
5 - Atom

I am using R tool in Alteryx and trying to execute below script "qic(y, chart = 'i')", Once I click on run observing error as "could not find the function "Qic". Please help on this.

3 REPLIES 3
albert_alaluf
9 - Comet

@jsumitha I'm not R developer, however I believe you should install the qicharts2 library. It is not installed by default.

FinnCharlton
13 - Pulsar

@jsumitha Go to C:\Program Files\Alteryx\R-4.1.3\bin\ and run R.exe

Enter install.packages("qicharts2")

Choose the default CRAN mirror. This will install the package.

 

You should then be able to run the qic() function, you may need to enter library(qicharts2) beforehand

OllieClarke
15 - Aurora
15 - Aurora

@jsumitha just to add to @FinnCharlton's comment, if you have a non-admin install of Alteryx, then R.exe will be located in this location:
"C:\Users\<username>\AppData\Local\Alteryx\R-<Version>\bin\R.exe"

There's more info on installing R packages here 

 

Ollie

Labels