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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.