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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi all,
I completely understand the error, but the package I have installed in R is 0.12.12. Is there a way PowerBI keeps using the old version I potentially had installed before? How to change it? Full error:
DataSource.Error: ADO.NET: R script error.
Error: package or namespace load failed for 'dplyr' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace 'Rcpp' 0.12.2 is being loaded, but >= 0.12.6 is required
Execution halted
Details:
DataSourceKind=R
DataSourcePath=R
Message=R script error.
Error: package or namespace load failed for 'dplyr' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace 'Rcpp' 0.12.2 is being loaded, but >= 0.12.6 is required
Execution halted
ErrorCode=-2147467259
ExceptionType=Microsoft.PowerBI.Radio.RScriptRuntimeException
I face the same problem with dplyr package. Were you able to solve this ?
I have exactly the same issue, even though for days it worked, until yesterday.
Did you even manage to solve it?
@Anonymous,
There are some proposals for your troubleshooting this issue.
1. Write some codes that is using the 'dplyr' , then check if the code works in R Studio.
2. Make sure that you are using the latest version of Power BI Desktop, and R home directories is configured correctly in Power BI Desktop.
3. Remove the 'Rcpp' package and re-install it, then reboot your machine and check if the issue still occurs.
Regards,
Lydia
Done all of it. It looks like PowerBI does not like some versions of some packages. Spoke to Microsoft, they are working on upgrading R engine along with hundreds of new packages to be available and the old packages updated to new versions. 6 weeks roughly.
User | Count |
---|---|
98 | |
76 | |
76 | |
49 | |
27 |