R Script Import Errors
I am simply trying to download a dataset from Domo into R Studio and am getting the following errors:
Warning: 3 parsing failures.
row # A tibble: 3 x 5 col row col expected actual file expected <int> <chr> <chr> <chr> <chr> actual 1 4036 transactions an integer 2628473349 <raw vector> file 2 36821 transactions an integer 2328168448 <raw vector> row 3 38237 transactions an integer 2761748332 <raw vector>
Warning message:
In rbind(names(probs), probs_f) :
number of columns of result is not a multiple of vector length (arg 1)
I have done some basic searches on Google but am coming-up emplty handed. I have reviewed the dataset in Excel and it seems normal. Any suggestions and/or ideas would be appreciated.
Thanks!
Comments
-
I don't have an answer, but will be using this soon. Following!
0 -
Hello byusteve,
What is the command you are using in the DomoR plugin when you get this error? This article is brief, but has some information about pulling a dataset from your Domo instance:
Darius Rose
**Say “Thanks” by clicking the “heart” in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
It looks like you may be trying to add a dataset to a pre-existing dataframe within R? If that's the case, it looks like the number of columns (and perhaps rows) is different from what R expects them to be.
Try the command: newdf<-DomoR::fetch('[dataset_id here]')
Does it create a new R dataframe that you can view within your Environment tab in R Studio?
KurtF
**Say “Thanks” by clicking the “heart” in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 294 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 607 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 707 Beast Mode
- 49 App Studio
- 39 Variables
- 667 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 44 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 115 Manage
- 112 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 103 Community Announcements
- 4.8K Archive