如何在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/documentation/powerbi-service-r-visuals/
这篇关于如何在Power BI中使用R包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!