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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

I have the exact same problem

But that's right, with load() it is perfectly achieved. Thank you

Greg_Deckler
Community Champion
Community Champion

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!:
DAX For Humans

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.