Submitted by: Arun ; Assigned to: Arun ; [R-Forge link](https://r-forge.r-project.org/tracker/index.php?func=detail&aid=5647&group_id=240&atid=975) The title may not be appropriate (as I've not looked into the issue yet, just that it crashes the session or gives a warning occasionally): Code on behalf of Zack: ``` S library(data.table) dt<-data.table(strip="Nov08",date=c("2006-08-01","2006-08-02","2006-08-03","2006-08-04","2006-08-07", "2006-08-08","2006-08-09","2006-08-10","2006-08-11","2006-08-14")) dt[,forward_date:=c(rep(NA,5),date),by='strip'] ``` It crashes or gives error: [Link](http://r.789695.n4.nabble.com/R-Studio-Interactions-with-data-table-td4689272.html)