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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
toncek87
New Member

R script - unable to connect

 

I have a issue with RScript. There is probably error with my User Account name (diacritics, spaces), more specifically with User folder name. I'd like to change it, is there any way how to repair it? When i tried on another PC with "good account name", it worked.. 

r-screen.PNG

 

Thank you

1 REPLY 1
Avi_Sander
Microsoft Employee
Microsoft Employee

Hi toncek87

   Thanks for your input - we have confirmed this as an issue and are working on a fix. Below is a workaround until this gets fixed:

 

  1. Open %USERPROFILE%\appdata\Local\Radio\settings.xml
  2. Add an entry to the XML:

 

  <ROutputDirectoryOverride>C:\temp</ROutputDirectoryOverride>

 

Place it below the <RHomeDirectoryOverride> node if this exists.

 

So it should look like this:

 

<RadioSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <RHomeDirectoryOverride>D:\RRO\R-3.1.3</RHomeDirectoryOverride>

  <ROutputDirectoryOverride>C:\temp</ROutputDirectoryOverride>

</RadioSettings>

 

The ‘C:\temp’ folder should be a local folder where you have access to and should contain no spaces at this point (until we fix this). This folder is used for temporary data PBI generates during the R script processing.

 

3. Restart PowerBI desktop – you should be good.

 

Please let us know if this fixed your problem,

 

Thanks.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors