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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
lucianosb
Frequent Visitor

Can Power BI use R and R Studio from Anaconda?

Is it possible to use Power BI with the R and R Studio that comes with Anaconda data science platform? 

 

I tried to point the R installation to C:\Users\my_user\Anaconda3\R but I get an error that prompts me to verify if R is installed correctly whenever I try to run a R Visual.

 

 

7 REPLIES 7
dspsingh51
New Member

hey i am having the same problem , powerBI is not able to detect my anaconda R installation even after giving the path. Did you solve this issue??

Greg_Deckler
Super User
Super User

Are you referring to this?

 

https://anaconda.org/r/rstudio

 

And what installer did you use?


@ 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...

Yes, that one!

 

I'm using the full Anaconda 4.3 distribution, with Python 3, and installed R Studio through the Anaconda Navigator.

I was able to replicate that. Strange.


@ 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...

I ended up installing R regularly on my machine and it worked as it should. However, when I switch to the Anaconda R through the Power BI Settings, I still get that error.

 

Perhaps I should fill this as an issue?

You could, but I am wondering if when installing R through Anaconda it isn't doing something that it is supposed to do. Perhaps a PATH issue or a registry setting? Power BI is detecting my R installations somehow but it does not detect R installed through Anaconda.


@ 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...

Im facing similer issue with Python thorugh anaconda.. the python scripts and visuals in power bi keep faliling .. and only error im getting is python script failed to run ... any ideas on how i can further debug this ?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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