I am running pam function for kmedoid under cluster package in R. My dataset has 1 million entries. It's throwing error saying

Have 1 million observation but not more than 65536 observation allowed

Please suggest the solution

Thanks in advance :)


If you read the package News section you will find:

pam() now signals an error when there are more than 65536 observational units (whereas it could segfault previously), thanks to a patch from Mikko Korpela, Helsinki.

So it seems there isn't a solution.

| improve this answer | |
  • $\begingroup$ Looks like they're only using 16-bit integers to store dataset size. Oof. $\endgroup$ – shadowtalker Oct 19 '18 at 4:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.