Alteryx Designer Desktop Discussions

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

Install FactoMineR and factoextra in R Designer

pierrelouisbescond
8 - Asteroid

Hi Everyone,

 

I have been struggling a bit to install «FactoMineR» and «factoextra» R packages in Designer so I thought I could explain how I achieved it and save some time for others.

 

First, I had tried the following methods:

1/ Using the "Install R Packages" app => unsuccessful 😥

2/ Running the "install.packages("FactoMineR")" directly in an R tool in Designer => no more luck! 😓

 

I succeeded by opening the Designer R console located in Windows at:

 

 

C:\Users\%username%\AppData\Local\Alteryx\R-4.0.5\bin\ 

 

 

and typing (again):

 

 

install.packages("FactoMineR")

 

 

At this moment, I was invited to select the mirroring source (which was probably not working when running the same command from Alteryx; I choose Paris, so romantic!) and the installation went smoothly from here.

pierrelouisbescond_0-1639986905431.png

 

After, when using the R tool in Designer, the

  • library("FactoMineR")
  • library("factoextra")

commands were successful and I was able to create some nice PCA-colored charts!

 

Hope this might help some of you!

Pierre-Louis

1 REPLY 1
EmilyCR
Alteryx Alumni (Retired)

Hi @pierrelouisbescond 

 

Thanks for taking the time to put this together and post! I'm sure it will help out many people in a future search. 

 

Emily 

Labels