[Traminer-users] pb of memory to compute distance matrix

Pierre Blavier pit.blavier at gmail.com
Mon Feb 11 13:14:42 CET 2013


Hi TramineR-users,



2 questions :


1) pb of memory computing distance matrix

Everything works perfectly (couts <- seqsubm(seq.seq, method="CONSTANT",
cval=2) / range(couts) / round(couts, 2) )

Until :

seq.om <-seqdist(seq.seq, method="OM",indel=1.1, sm=couts)



I obtain :

Erreur : impossible d'allouer un vecteur de taille 1.5 Go

R(351,0xac7312c0) malloc: *** mmap(size=1617408000) failed (error code=12)

*** error: can't allocate region

*** set a breakpoint in malloc_error_break to debug

R(351,0xac7312c0) malloc: *** mmap(size=1617408000) failed (error code=12)

*** error: can't allocate region

*** set a breakpoint in malloc_error_break to debug



My dataset is rather large (43 periods, n=20 000, 6 states) but it is
rather suprising, how can I solve the problem ? ? (I have a brand-new
macintosh with 8Go of live memory, so I think this is not the pb).



2) How can we use the weights in TramineR, for example in order to make it
take them into account in commands like

> seqdplot(seq.seq, withlegend=T, title="1988", weights="pond")

It does not seem to work…



Thanks a lot and best regards,



Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/traminer-users/attachments/20130211/fbe47643/attachment.html>


More information about the Traminer-users mailing list