We are receiving the above error as we have null values present in the dataset.


Hence to overcome this error we need to find the null values and then remove it.


To find the null values

Command: m_norm[is.na(m_norm)] 


To remove the null values.

Command:  m_norm1<-na.omit(m_norm) 


After that you try to perform KMeans it will work.