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.
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
Solved! Go to Solution.
Update: Resolved.
The issue was because of mcafee antivirus causing some permisson issues between powerBi and R
Hi @svarghese,
You could paste the code in the editor directly as the snapshot below shows.
Best Regards,
Dale
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
what parameter need to configure in McAfee? pl guide
I have a similar issue with permission being denied to 'RScriptWrapper.R', possibly due to mcafee. Any suggestions on how you solved this?
You can check event logs in your antivirus software to consider allowing certain files (RScript.exe) to execute scripts.
Or you could try publishing to the Power BI service, which worked for me.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |