Unable to load R tidyverse package
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
I am not sure why this is happening, so any insights would be greatly appreciated!
- Labels:
- Developer Tools
- Error Message
- R Tool
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
