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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

PowerBI throwing DataSource: ADO.NET Rcpp 0.12.2 is being loaded but >= 12.6 required

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 &#39;dplyr&#39; in loadNamespace(j &lt;- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace &#39;Rcpp&#39; 0.12.2 is being loaded, but &gt;= 0.12.6 is required
Execution halted

ErrorCode=-2147467259
ExceptionType=Microsoft.PowerBI.Radio.RScriptRuntimeException

4 REPLIES 4
Anonymous
Not applicable

I face the same problem with dplyr package. Were you able to solve this ?

vladimirkocic
Frequent Visitor

I have exactly the same issue, even though for days it worked, until yesterday.

Did you even manage to solve it? 

Anonymous
Not applicable

@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.
1.JPG

3. Remove the 'Rcpp' package and re-install it, then reboot your machine and check if the issue still occurs.

Regards,
Lydia

Anonymous
Not applicable

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.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors