cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

R with Power BI

I am trying to execute a R script within the Rvisual in PowerBI. I have written a small script , but when i try and run it, i get the error:

 

Microsoft.PowerBI.ExploreServiceCommon.ScriptHandlerException: R script error.

Fatal error: cannot open file 'RScriptWrapper.R': Permission denied

 

I have set the R home as "C:\Program Files\R\R-3.3.3" and Rstudio as the IDE.

 

Pleas elet me know what else needs to be done

 

 

1 ACCEPTED SOLUTION

Update: Resolved. 

The issue was because of mcafee antivirus causing some permisson issues between powerBi and R

View solution in original post

3 REPLIES 3
Microsoft
Microsoft

Hi @svarghese,

 

You could paste the code in the editor directly as the snapshot below shows. 

R_with_Power_BI

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HI Dale

 

Thats what i have done , running a simple ggplot script in the editor gives me an error. Lok slike some perissions issue but i cannot figure out what 😞

Update: Resolved. 

The issue was because of mcafee antivirus causing some permisson issues between powerBi and R

View solution in original post

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors