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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 48 | |
| 35 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 134 | |
| 110 | |
| 59 | |
| 39 | |
| 32 |