rpowerbir-corrplot

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


Solution

  • 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