Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Error Message:
Failed to install dependency 'plotly' to 'C:\Users\**i\Library\3.5.2\plotly'.
Make sure 'https://cran.r-project.org' is accessible and contains the package 'plotly' compatible with the installed R version.
If you keep getting this error, clearing out 'C:\Users\Ajith.Dharmakeerthi\Library' might help.
Stack Trace:
at Microsoft.PowerBI.Scripting.R.Dependecies.RDependenciesWrapper.InstallDependency(String packageName, Int32 attempt)
at System.Threading.Tasks.Task.Execute()
Solved! Go to Solution.
@Ajithd, refer to these two solutions
https://community.powerbi.com/t5/Desktop/Using-Plot-ly-with-R-in-Power-BI-Desktop/td-p/391669
hi Amit, I followed second link and it worked. Many thanks.
https://community.powerbi.com/t5/Desktop/Using-Plot-ly-with-R-in-Power-BI-Desktop/td-p/391669
@Ajithd, refer to these two solutions
https://community.powerbi.com/t5/Desktop/Using-Plot-ly-with-R-in-Power-BI-Desktop/td-p/391669
Hi Amith, Thank fro your reply. I am not sure whre I should run this: install.packages("plotly") .
Thanks fro providing the second link.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 23 | |
| 23 | |
| 14 |
| User | Count |
|---|---|
| 46 | |
| 33 | |
| 20 | |
| 18 | |
| 16 |