[R] Fwd: bigmemory not really parallel
ilai
keren at math.montana.edu
Tue Feb 21 05:34:06 CET 2012
The default nstart in ?bigkmeans is 1. Try
ans<-bigkmeans(data,k,nstart=8)
Good luck
On Mon, Feb 20, 2012 at 4:22 PM, Lishu Liu <lishuliu at gmail.com> wrote:
> Hi, all,
>
> I have a really big matrix that I want to run k-means on.
> I tried:
>>data <-
> read.big.memory('mydata.csv',type='double',backingfile='mydata.bin',descriptorfile='mydata.desc')
> I'm using doMC to register multicore.
>>library(doMC)
>>registerDoMC(cores=8)
>>ans<-bigkmeans(data,k)
>
> In system monitor, it seems only one thread running R. Is there anything I
> did wrong?
> Thanks in advance for any suggestions.
>
> Best,
> Lishu
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list