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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
lizzy
Helper I
Helper I

Anaconda R

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.

 

1 REPLY 1
dax
Community Support
Community Support

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.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.