Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
yanivvl
Frequent Visitor

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 10
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.

2.JPG
1.JPG


1.png

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.
2.png

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



Regards,
Lydia

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" :

r33.PNG

 

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

r33 2.PNG

 

am i missing something ?    THANKS!

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

MY Version 3.3.2 - comes after 3.3    .

Anonymous
Not applicable

@yanivvl,

How is the issue going? What is the result after you install 3.3.0 or 3.4.0 R?

Regards,
Lydia

hi , the same  , no progress , i'm stack.  

3.3,2 isnt good ?  

Anonymous
Not applicable

@yanivvl,

Would you mind sharing the pre-downloaded packages to me? I will test it in my environment.

Regards,
Lydia

Of course, how can I deliver the packages to you?

Anonymous
Not applicable

@yanivvl,

You can upload these packages to OneDrive, and send me the shared link via Private Message.

Regards,
Lydia

hi Lydia , 

here is the link :

https://1drv.ms/f/s!AjgXaWBMO1sGdGt2nmC8Wh9Ui3Y

hope the upload done and complete ,

if you see any thng missing , pls alert me , thanks.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.