扩大R控制台的显示行数: ptions(max.print=1000000) R语言的DBSCAN包,找到了。http://rss.acs.unt.edu/Rdoc/library/fpc/html/dbscan.html 需要安装fpc包 install.packages(fpc) 假设使用鸢尾花数据集 iris.data<-iris[,-5] ds <- dbscan(iris.data, 1.5,MinPts=30,scale=TRUE, showplot=TRUE,countmode=NULL, method="raw") 感觉R半径和最小点非常难设置,不知道哪位大神有思路? 欢迎交流 找到了wiki http://en.wikibooks.org/wiki/Data_Mining_Algorithms_In_R/Clustering/Density-Based_Clustering http://en.wikipedia.org/wiki/DBSCAN