Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

Visual Studio 2017 with R Tools with Power BI Desktop

When I try to set up Visual Studio 2017 with R Tools in Power BI Desktop, the R home directory is not detected automatically and I don't know how to choose my "preferred R home directory", or how to find my preferred R IDE (also not detected automatically.) When I try to browse to the C drive to drill down, it is not an option.  When I set up a network drive, it tells me the path wasn't identified as a a valid R home Directory.  How do I set up a "valid R home directory"?  I work on a thin client with Citrix. Is that the problem, and if so, is there anything I can do about it?

Community Support
Community Support

HI @mdaitsman,


Please take a look at following link to know how to setting R home folder and IDE:

Use an external R IDE with Power BI


After configure if it still not available, I think you need to change other library and IDE.(it test to configure R script and R studio works)




Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.


Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

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

Top Solution Authors
Top Kudoed Authors