如何在 Power BI 中使用 R 包? [英] How to use R packages in Power BI?
问题描述
我使用 R 中的代码使用库函数绘制了图表,该库函数是某个包的一部分.
I have plotted the graph using a code in R using library function which is part of certain package.
我想在 powerbi 中使用此代码来绘制图形.但是我无法在power bi中添加包(库函数)?
I want to use this code in powerbi to plot the graph. But I am not able to add the package (library function) in power bi?
推荐答案
对于 Power BI Desktop 方案,它调用 Power BI 选项中指定的 R 安装.所以你需要通过那个 R 安装添加你想要的包.
For a Power BI Desktop scenario, it calls the R Installation specified in the Power BI Options. So you need to add the packages you want via that R Installation.
对于 app.powerbi.com 方案,您仅限于它们支持的软件包列表,参考:
For an app.powerbi.com scenario, you are limited to the list of packages they support, ref:
https://powerbi.microsoft.com/zh-CN/文档/powerbi-service-r-visuals/
这篇关于如何在 Power BI 中使用 R 包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!