The kmeans.big.matrix function seems to have disappeared between the 2.3 and the 3.5 release of the library. (?) I am not sure why. You can download old versions from CRAN. The default package on Fedora (R-bigmemory-2.3-4.fc11.x86_64 or similar for your platform) also has the function (from the 2.3 library) and this may also work for other distributions.
In general, most R functions somehow and somewhere relies on being able to convert your matrix to a vector which is unfortunately going to fail for matrices with more than 2^31-1 elements (on any platform) and is therefore not supported by many of the big data packages. Allan On 20/07/09 20:46, Michael Knudsen wrote: > Hi, > > I'm playing around with the 'bigmemory' package, and I have finally > managed to create some really big matrices. However, only now I > realize that there may not be functions made for what I want to do > with the matrices... > > I would like to perform a cluster analysis based on a big.matrix. > Googling around I have found indications that a certain > kmeans.big.matrix() function should exist. It is mentioned, among > other places, in this document: > > http://www.stat.yale.edu/~jay/662/bm-nojss.pdf > > Unfortunately, on my computer the following happens: > > >> require(bigmemory) >> > Loading required package: bigmemory > >> kmeans.big.matrix >> > Error: object 'kmeans.big.matrix' not found > > Does anybody know how to get the kmeans.big.matrix() function? Are > there other cluster algorithms out there ready to accept a big.matrix > as input? > > Thanks! > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.