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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive