<p class="MsoNormal">
















</p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">Hi TramineR-users, </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"> </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">2 questions : </span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">1) pb of memory computing
distance matrix</span></p>

<p class="MsoNormal" style="margin-left:4.0pt;text-autospace:none"><span lang="EN-US" style="font-family:Arial">Everything works perfectly (</span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">couts</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d"> <- seqsubm(</span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">seq.seq</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">, </span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">method</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">=</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#9c0c00">"CONSTANT"</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">, </span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">cval</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">=</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#10420b">2</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">) / range(</span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">couts</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">) / round(</span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">couts</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">, </span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#10420b">2</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">) )</span></p>


<p class="MsoNormal" style="margin-left:4.0pt;text-autospace:none"><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">Until : </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Monaco"><a href="http://seq.om">seq.om</a></span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d"> <-seqdist(</span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">seq.seq</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">, </span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">method</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">=</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#9c0c00">"OM"</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">,</span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">indel</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">=</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#10420b">1.1</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">, </span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">sm</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">=</span><span lang="EN-US" style="font-size:11pt;font-family:Monaco">couts</span><span lang="EN-US" style="font-size:11.0pt;font-family:Monaco;color:#00008d">)</span><span lang="EN-US" style="font-family:Arial"></span></p>


<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"> </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">I obtain : </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">Erreur : impossible d'allouer
un vecteur de taille 1.5 Go</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">R(351,0xac7312c0) malloc: ***
mmap(size=1617408000) failed (error code=12)</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">*** error: can't allocate
region</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">*** set a breakpoint in
malloc_error_break to debug</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">R(351,0xac7312c0) malloc: ***
mmap(size=1617408000) failed (error code=12)</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">*** error: can't allocate region</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">*** set a breakpoint in
malloc_error_break to debug</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"> </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">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). </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"> </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">2) How can we use the weights
in TramineR, for example in order to make it take them into account in commands
like </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">> seqdplot(seq.seq, withlegend=T, title="1988",
weights="pond")</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">It does not seem to work… </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"> </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">Thanks a lot and best
regards, </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"> </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial">Pierre </span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial"><br></span></p>

<p></p>