Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

RScriptWrapper.R Permission denied

I would like to use the Query Editor's R script feature in order to export a csv of a table/query.  I get this error when I try to run any R script.  I've found little information on RScriptWrapper.R.  Any help would be appreciated.

 

Je77rey_0-1646416169812.png

 

Je77rey_0-1646416809991.png

I have the latest MS R open installed as well as Rstudio

 

2 REPLIES 2
Daryl-Lynch-Bzy
Community Champion
Community Champion

Hi, @Anonymous   I going to start by asking "Why"?

 

 

  1. Power Query to export to Csv using R  -  not recommended Power Query should not be used to write data
  2. Power BI Visual to export to Csv using R  - might be limited because this is using Microsoft R library not your library.
  3. R to import from Power BI and the export to Csv - this is better option but required knowledge of the R.Olap connectors.

I would personally go for an easier option.  Use Power Query within Excel to export the data an Excel table.

 

Many thanks

Daryl

 

Anonymous
Not applicable

Thank you, Daryl.  I will look into other methods of extraction.  However, I still have the larger issue of not having access to Rscriptwrapper, which prevents any funtionality of using R within PowerBI, regardless of the 'why'.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.