Skip to content
Back to formatted view

Raw Message

Message-ID: <1263202871.4797.93.camel@EMACS-Keller>
Date: 2010-01-11T09:41:11Z
From: Ulrich Keller
Subject: Strange behaviour of as.integer()
In-Reply-To: <1262867502.7279.1.camel@EMACS-Keller>

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