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
crsjunior
Advocate I
Advocate I

Rstudio not opening

I'm working in Power BI Desktop on the company's notebook, and don't have authorization to install programs in the 

C:\Program Files. So I installed Rstudio in another directory. My Power BI isn't recognizing the Rstudio IDE even when i show him the .exe path.

Does anyone know how I can solve it without changing the .exe directory?

6 REPLIES 6
bcdobbs
Super User
Super User

Have you set the path to the IDE in power bi settings?


See screen shot of settings screen in...

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-r-ide



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Yes.

Even with the path setted there, I still keep getting the "unespected error"

crsjunior_0-1639393793207.png

crsjunior_1-1639393824666.png

 

bcdobbs_0-1639294535112.png

 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
crsjunior
Advocate I
Advocate I

Maybe I dind't explain it correctly, R is working fine haha
The problem is when a I try to open the Rstudio IDE directly from the R script editor in Power BI, so I can work on the script with the selected columns.

crsjunior_0-1639246900088.png

 

Haha. I completely misunderstood.

 

Unfortunately, I'm not familiar with this error so maybe someone else can jump in.

AlexisOlson
Super User
Super User

If you want to use R in Power BI, you need to point it at the R home directory (where R is installed), not RStudio.

 

Since RStudio is a program for developing R and not the installation of the language itself, it would be a bit like linking to Notepad.exe if that's where you chose to edit your R instead.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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