Forum Discussion

yanivvl's avatar
yanivvl
Frequent Visitor
8 years ago

Cant display Clustering visual - R script error.

hi , i had Import from store Clustering visual , when i am trying to use it - i get the err : 

R script error.
Loading required package: XML
Loading required package: methods
Warning message:
package 'XML' was built under R version 3.3.3
Loading required package: htmlwidgets
Loading required package: nloptr
Loading required package: seriation
Loading required package: NbClust
Loading required package: cluster
Loading required package: car
Loading required package: scales
Loading required package: fpc
Loading required package: mclust
Package 'mclust' version 5.4
Type 'citation("mclust")' for citing this R package in publications.
Loading required package: apcluster  .........

i manage to install.packages("XML") and most of the other package BUT still the error message remain  ..

Any hope for solution ?  THANKS.

10 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    yanivvl,

    Please check if you install the right version of R in your machine. In my scenario, I can successfully import the clustering visual when I have R 3.3.0 or R 3.4.0 installed.





    when importing the clustering visual, the R package dependencies should be auto-installed, please make sure all the packages have been installed completely. It should pop up a window as below when you first to use the clustering visual.


    In addition, make sure that you use the latest version of Power BI Desktop(2.54.4970.961).



    Regards,
    Lydia

    • yanivvl's avatar
      yanivvl
      Frequent Visitor

      hi lydia , i had 2.53 version so i down load 2.54.4970.961 v,

      my r packages installed on other machine so i point the "temporary storage location" :


       

      all the packages are there but it seems that it cant find them , and i steel get same error message :

       

      am i missing something ?    THANKS!

      • Anonymous's avatar
        Anonymous
        Not applicable

        yanivvl,

        From the error message, it seems that your pre-installed packages are not compatible with the installed R on your current machine.

        Have you tried to install higher version R(3.3.0 Or 3.4.0)? 



        Regards,
        Lydia