R Script Packages
Is it possible to install packages to use in an R Script (DataFlow > Scripting > R Script)?
I tried install.packages(), but "/usr/lib/R/site-library" is not writable. I tried installing to a few other folders too (e.g. install.packages(lib = '/usr'), but they aren't writable. Granted this is a fringe use case, but it would help me. Otherwise, here are a few packages that I'd love to see: tidyverse, here, usethis, googleAuthR, googleAnalyticsR. I realize that most of the tidyverse is available, but typing library('tidyverse') is much easier! Domo's Google Analytics connectors are great, but I'm a long time googleAnalyticsR user and miss its bells and whistles. Being able to use googleAnalyticsR inside Domo would be fantastic!
Comments
-
Following this question - I am getting the same error with packages I am trying to install. Also interested in tidyverse as well as NL, stringr, tm, and dplyr.
2 -
At the top of your script try:
library('dplyr')
library('stringr')
library('tm')I don't see NL in the list of installed packages.
0 -
No, it's not possible. It's my understanding we would need the Jupyter notebook integration to create a custom environment.
0 -
Hi @jimmy
If you talk with your CSM they may be able to spin up an environment with your required packages.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
@user15776 , it is possible to have an environment spun up in MagicETL with additional packages included. You would have to coordinate with Domo Support and your CSM.
Also, if you have the option, try to go with Jupyter Notebook Integration (or get it added as a trial) you can use pip install to install your own packages in JNI. Once your script is complete, then you would have an easier (less friction) time going to support saying, "this is the tooling I need to automate my pipeline"
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive