Using R packages in Power BI

0 votes
How can I use R packages in Power BI?
Feb 8 in Power BI by Upasana
• 8,550 points

2 answers to this question.

0 votes

You need to add the packages you want via the R Installation specified in the Power BI Options or you can add your R script in Power BI by clicking on the Get Data and then using the R script and pasting the code.

answered Feb 8 by Shubham
• 13,350 points
+1 vote

You can use the powerful R programming language to create visuals in the Power BI service. Many R packages are supported in the Power BI service (and more are being supported all the time), and some packages are not.

The following sections provide an alphabetical table of which R packages are supported in Power BI, and which are not. For more information about R in Power BI, see the R visuals article.

Request support for a new R package

Supported R packages for the Power BI service are found in the following section, titled Supported Packages. If you would like to request support of an R package not found in that list, you can send an email with your request to the R in Power BI Feedback Team.

Requirements and Limitations of R packages

There are a handful of requirements and limitations for R packages:

  • The Power BI service, for the most part, supports R packages with free and open-source software licenses such as GPL-2, GPL-3, MIT+, and so on.

  • The Power BI service supports packages published in CRAN. The service does not support private or custom R packages. Users are encouraged to make their private packages available on CRAN prior to requesting the package be available in the Power BI service.

  • The Power BI Desktop has two variations for R packages:

    • For R visuals, you can install any package, including custom R packages
    • For Custom R visuals, only public CRAN packages are supported for auto-installation of the packages
  • For security and privacy reasons, R packages that provide client-server queries over the World-Wide Web (such as RgoogleMaps) in the service, are not supported. Networking is blocked for such attempts. See the following section for a list of supported and unsupported R packages.

  • The approval process for including a new R package has a tree of dependencies; some dependencies required to be installed in the service cannot be supported.

R packages that are supported in Power BI

answered Feb 8 by rajesh
• 1,210 points

Related Questions In Power BI

0 votes
1 answer

create interactive R plots in Power BI

 Right now Power BI only supports render ...READ MORE

answered Sep 20, 2018 in Power BI by Kalgi
• 45,780 points
0 votes
1 answer

list reports with calculated percentage in Power BI using dax

Create a Measure called Total Revenue: Total Revenue = SUMX( ...READ MORE

answered Oct 22, 2018 in Power BI by Hannah
• 17,060 points
0 votes
1 answer

Embedding a dashboard using Java in Power BI

Make sure to use the correct embedURL, ...READ MORE

answered Nov 30, 2018 in Power BI by Shubham
• 13,350 points
0 votes
1 answer

How do you embed dashboard using JavaScript in Power BI?

Dashboards in Power BI can be embedded ...READ MORE

answered Mar 5 in Power BI by Phalguni
• 1,010 points
0 votes
1 answer

How do you use R visuals in Power BI Desktop?

Hi, In order to use R Visuals you ...READ MORE

answered Apr 10 in Power BI by Avantika
• 1,500 points
0 votes
1 answer

How To use R Integration in Power BI?

Hi,  There are a lot of packages available ...READ MORE

answered May 2 in Power BI by Avantika
• 1,500 points
0 votes
1 answer

Using R packages in Power BI

When you're trying to use R on ...READ MORE

answered Dec 17, 2018 in Power BI by Shubham
• 13,350 points
0 votes
0 answers

Create a sample report in power BI using R script

how to create a sample chart using ...READ MORE

Jun 20 in Power BI by Anitha
0 votes
1 answer

Big Data transformations with R

Dear Koushik, Hope you are doing great. You can ...READ MORE

answered Dec 17, 2017 in Data Analytics by Sudhir
• 1,610 points
0 votes
2 answers

Transforming a key/value string into distinct rows in R

We would start off by loading the ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,560 points