Updating and R 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
I'm new to Alterxy Designer, but in order to use the prophet forecasting package I need a version of rlang >= 0.3.0, but Alteryx's rlang is 0.2.0. I get a warning that rlang 0.3.4 is being masked by 0.2.0. How do either "unmask" rlang 0.3.4 or update from 0.2.0?
If I try using remove.packages("rlang") in the R Tool and then installing rlang through the R Package Installer is completely breaks R in Alteryx and I have to uninstall and reinstall the R Prediction suite for Alteryx to get it back to normal. So I'm really reluctant to do any installing or removing with the R Tool (lest I have another hour to waste reinstalling everything).
Thanks!
Solved! Go to Solution.
- Labels:
- R Tool
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Safest way to update a package in R:
Open R.exe in the Alteryx root Folder:
Alteryx\R-3.4.4\bin
Run as administrator.
Type : install.packages("rlang")
Select CRAN mirror.
Done. Your rlang package should be updated to version 0.3.4
To check if it worked, type:
packageVersion("rlang")
Don't worry: this won't make you reinstall Alteryx Predictive Tools.
Cheers,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks Thableaus! I had to specify the lib in install.pacakges() to be the R library folder for Alteryx, but once I did that it worked like a charm :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Recently, we have developed a Prophet Tool in R for more drag & drop features. See if it's helpful to you.