Nomad82
Nomad82

Reputation: 7

R corrplot Package Won't Load in Power BI

I tried to use R's corrplot package in power BI but when I ran the script library(corrplot) and got an error stating there's no package called corrplot but it works in R studio. In the Microsoft page it says this packages is supported. Does anybody know why?

Thank you

Upvotes: 0

Views: 853

Answers (1)

Son Pham
Son Pham

Reputation: 26

I do not have much experience with R.

Just use some R code in Power BI. If you have the following error message from Power BI, you should install the corrplot package in R script editor in Power BI.

Running the below would solve the issue. After installing the package and R-plot is executed properly, you can remove the install.packages line.

install.packages("corrplot", repos = "http://cran.us.r-project.org")
require("corrplot")
library(corrplot)

R_corrplot_errorMessage

Upvotes: 1

Related Questions