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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I use R as installed from Anaconda. I set the R Home Directory setting in Power BI to C:\Users\username\AppData\Local\Continuum\anaconda3\envs\rstudio\lib\R
When I try to run anything using R, though, I get the error message:
A problem occurred while processing your R script. Here are the technical details: Running the R script encountered the following error: Failed to retrieve error code string from System ->317 Double-check that R is installed correctly on your machine.
Is this because I'm using Anaconda R? I saw the prvious thread on the topic (https://community.powerbi.com/t5/Desktop/Can-Power-BI-use-R-and-R-Studio-from-Anaconda/td-p/262164) but it doesn't have a clear answer.
Hi Lizzy,
I find some similar posts about this problem , you could try to refer to this post for more details.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 43 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |