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.

Power BI not creating REditorWrapper.R

In a R visual script, when I click the Edit script in external IDE button, Power BI launches R Studio, but the R script for the visual (REditorWrapper.R) does not appear.

 

The page below advises what to do if R Studio does not automatically detect the REditorWrapper script. However, when I follow the instructions to search for the REditorWrapper folder/file on my C drive, nothing can be found. It appears that Power BI is not creating the script.

Create Power BI Visual Using R Script Visual - Bar Chart (c-sharpcorner.com)

Status: Investigating
Comments
Anonymous
Not applicable

Hi  @david53 ,

 

If your Power BI code doesn’t reflect in R Studio automatically, then you need to go to the following path to open your R script file in R Studio. However, if you can’t find the REditorWrapper folder/file on your C drive, it might be due to several reasons.

Here are a few things you could check:

1.Verify that your local R installation is specified in Detected R home directories and that it properly reflects the local R installation you want Power BI Desktop to use.

2.From the Power BI Desktop menu, select File > Options and settings > Options. On the left side of the Options page, under Global, select R scripting.
3.Under R script options, verify that your local R installation is specified in Detected R home directories and that it properly reflects the local R installation you want Power BI Desktop to use.

 

Create Power BI visuals using R - Power BI | Microsoft Learn

 

Best regards.
Community Support Team_Caitlyn

MaryamZ
New Member

I have the same problem. Although powerBI desktop used to be able to open Rstudio on my Laptop, suddenly since couple of weeks it is not able to create REditorWrapper. 
I have checked the R and Rstudio home directories in the PowerBI settings, but this is not the reason.