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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
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!:
Power BI Cookbook Third Edition (Color)

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
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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