I would like to thank all those who wrote helpful and interesting replies to my question. I could have saved myself the time for writing it up had I simply read ?as.integer. However, under the circumstances in which I first encountered as.integer's truncating behaviour this was not so obvious because as.integer was called implicitly. To summarize my initial problem:
> length(rep(0, .57 * 100)) [1] 56 ______________________________________________ R-help@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.