Hello everybody,I faced the same problem as Kevin Wright in 2004 and Harry In 2007 about using use a paper by Hardin & Rocke: http://handel.cipic.ucdavis.edu/~dmrocke/Robdist5.pdf in finding the distribution of robust distances. Also I have seen the answer of  Valentin for correcting the R code of Kevin Wright program. I am using S+ and I want to know that is there any differences between R and S+ to use Kevin Wright codes to find asymptotic c? I am a beginner to R and I prefer to use S+. Arezoo  [[alternative HTML version deleted]]