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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
ashvin
Frequent Visitor

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? 

v-yuezhe-msft
Employee
Employee

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.