Forum Discussion
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
Update: Resolved.
The issue was because of mcafee antivirus causing some permisson issues between powerBi and R
6 Replies
- v-jiascu-msftMicrosoft Employee
Hi svarghese,
You could paste the code in the editor directly as the snapshot below shows.
Best Regards,
Dale
- svargheseAdvocate I
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 :-(
- svargheseAdvocate I
Update: Resolved.
The issue was because of mcafee antivirus causing some permisson issues between powerBi and R