Alteryx Designer Desktop Discussions

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

Unable to load R tidyverse package

kduong1
6 - Meteoroid

Hi all,

 

I am trying to incorporate R code that utilizes the tidyverse package. I have installed the package and dependencies into a folder in my documents (\Documents\R\win-library\3.6). Within Alteryx, in the R tool, I reference the location of the installed packages using the .libPaths() statement. It seems like it is referencing the correct folder, but I get the following error:

kduong1_0-1654296978899.png

 

kduong1_1-1654296992994.png

 

I am not sure why this is happening, so any insights would be greatly appreciated!

 

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @kduong1,

Two things I found on the community:

 

"When using paths in R you must either escape backslashes so \\ instead of \ or swap them for forward slashes /" https://community.alteryx.com/t5/Alteryx-Designer-Discussions/R-package-updates-and-loading/td-p/331... 

 

The above could be your issue. Or check this thread out https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Install-R-Packages/ta-p/41265 there are a lot of ways to install R packages in Alteryx.

 

Any questions or issues please ask :)
HTH!
Ira

TheCoffeeDude
11 - Bolide

Just a guess, but the plain black text between all of the error messages is saying that tibble needs to be upgraded to 3.0.0 or above. You currently have 2.1.3 installed. Install that and its dependencies and you should be good to go.

Labels