Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi there,
I'm running into a problem with most of my R-scripts, as they simply don't run in Power BI although they run in RStudio.
Simple sample:
library("Quantmod")
getOptionChain("AAPL")
Error-message:
Details: "ADO.NET: R script error.
Loading required package: xts
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: TTR
Error: package or namespace load failed for 'TTR':
package 'curl' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Error: package 'TTR' could not be loaded
Execution halted
The error-messages vary slightly from script to script, but are very similar, as they always complain about different internals problems with loading libraries that load fine in RStudio.
Shouldn't this simply work?
I've tried several R-versions between 3.4 and 3.6
Thanks.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Solved! Go to Solution.
Hi @v-yulgu-msft ,
this is a bug that others have as well: https://community.powerbi.com/t5/Issues/R-visual-error-quot-package-was-installed-by-an-R-version-wi...
Forgot to close this thread, sorry.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Hi @v-yulgu-msft ,
this is a bug that others have as well: https://community.powerbi.com/t5/Issues/R-visual-error-quot-package-was-installed-by-an-R-version-wi...
Forgot to close this thread, sorry.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 63 | |
| 31 | |
| 30 | |
| 23 |