Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
LY18
Helper I
Helper I

Get data from RDATA file

Hi,

 

In our company we have several R scripts automated that generate Rdata files as results.

I would like to use these results as dataset in power BI ... 

 

I couldn't find a way to open Rdata file ??? 

 

I can see that i can use R Script but i don't want to re generate the Rdata (very long calculation) ... do you know how to directly read the Rdata file as a table? ... to use it as a dataset in powerbi desktop (and manipulate it in query editor) 

 

thanks in advance for your help

 

regards

2 REPLIES 2
Greg_Deckler
Super User
Super User

Can't you just load it in your r script step?
https://www.rdocumentation.org/packages/miceadds/versions/3.8-9/topics/load.Rdata

Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Mariusz
Community Champion
Community Champion

Hi @LY18 

 

As explained in the below article you can use load() function

https://bookdown.org/ndphillips/YaRrr/rdata-files.html

 

Use R in Power Query Editor

https://docs.microsoft.com/en-us/power-bi/desktop-r-in-query-editor

 

I don't ting that there is a connector to connect directly to rdata file.

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.