<div dir="ltr">Zachary,<div>Fixed in #1269 (v1.9.3). Please do write back if you still experience the issue after update.<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 27, 2014 at 9:48 PM, Arunkumar Srinivasan <span dir="ltr"><<a href="mailto:aragorn168b@gmail.com" target="_blank">aragorn168b@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Zack,<div>I'm able to reproduce the crash and the occasional warning. Will look into it - filed <a href="https://r-forge.r-project.org/tracker/index.php?func=detail&aid=5647&group_id=240&atid=975" target="_blank">#5647</a>. Thanks for reporting.</div>
<div>Arun.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Apr 22, 2014 at 8:07 PM, Zachary Long <span dir="ltr"><<a href="mailto:long@dc-energy.com" target="_blank">long@dc-energy.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word">Hello,<div><br></div><div>I was wondering if an error like this had been addressed before. I am using data table 1.9.2.</div>
<div><br></div><div>It appears that the error has to do with the interaction with R-Studio. When I run</div><div><br></div><div><blockquote type="cite"><font color="#000000">library(data.table)<br>dt<-data.table(strip="Nov08",date=c("2006-08-01","2006-08-02","2006-08-03","2006-08-04","2006-08-07",<br>
"2006-08-08","2006-08-09","2006-08-10","2006-08-11","2006-08-14"))<br>dt[,forward_date:=c(rep(NA,5),date),by='strip']</font><br>
</blockquote><br></div><div>The result I expect is below, along with a warning message.</div><div><pre style="font-family:Monaco,monospace;font-size:12px;outline:none;border:none;margin-top:0px;margin-bottom:0px;white-space:pre-wrap!important;line-height:17.399999618530273px;color:rgb(255,255,255);text-align:-webkit-left;background-color:rgb(50,50,50)">
strip date forward_date
1: Nov08 2006-08-01 NA
2: Nov08 2006-08-02 NA
3: Nov08 2006-08-03 NA
4: Nov08 2006-08-04 NA
5: Nov08 2006-08-07 NA
6: Nov08 2006-08-08 2006-08-01
7: Nov08 2006-08-09 2006-08-02
8: Nov08 2006-08-10 2006-08-03
9: Nov08 2006-08-11 2006-08-04
10: Nov08 2006-08-14 2006-08-07</pre><div><br></div></div><div>However, I don't get this.</div><div><br></div><div>1 of two things can happen.</div><div><br></div><div>1. My R-Studio will completely crash without warning. All unsaved information is lost.</div>
<div>2. I can get "Error: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'" "In addition:Lost warning messages"</div><div><br></div><div>Do you know what is the cause here? It seems related to memory allocation, or something under the hood relating to the interaction of R-Studio and data table.</div>
<div><br></div><div>Zach</div></div><br></div></div><div class="">_______________________________________________<br>
datatable-help mailing list<br>
<a href="mailto:datatable-help@lists.r-forge.r-project.org" target="_blank">datatable-help@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help</a><br></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div>