[R] rep() fails at times=0.29*100

2013-04-09 Thread Jorge Fernando Saraiva de Menezes
Dear list, I have found an unusual behavior and would like to check if it is a possible bug, and if updating R would fix it. I am not sure if should post it in this mail list but I don't where is R bug tracker. The only mention I found that might relate to this is If times is a computed quantity

Re: [R] rep() fails at times=0.29*100

2013-04-09 Thread Henrik Bengtsson
FYI, (0.29*100) 29 [1] TRUE See R FAQ 7.31 for why. /Henrik On Tue, Apr 9, 2013 at 9:11 AM, Jorge Fernando Saraiva de Menezes jorgefernandosara...@gmail.com wrote: Dear list, I have found an unusual behavior and would like to check if it is a possible bug, and if updating R would fix it.

Re: [R] rep() fails at times=0.29*100

2013-04-09 Thread arun
Possibly R FAQ 7.31 length(rep(TRUE,signif(0.29*100,2))) #[1] 29 A.K. - Original Message - From: Jorge Fernando Saraiva de Menezes jorgefernandosara...@gmail.com To: r-help@r-project.org Cc: Sent: Tuesday, April 9, 2013 12:11 PM Subject: [R] rep() fails at times=0.29*100 Dear list, I

Re: [R] rep() fails at times=0.29*100

2013-04-09 Thread Ted Harding
[See at end] On 09-Apr-2013 16:11:18 Jorge Fernando Saraiva de Menezes wrote: Dear list, I have found an unusual behavior and would like to check if it is a possible bug, and if updating R would fix it. I am not sure if should post it in this mail list but I don't where is R bug tracker. The

Re: [R] rep() fails at times=0.29*100

2013-04-09 Thread Jorge Fernando Saraiva de Menezes
. - Original Message - From: Jorge Fernando Saraiva de Menezes jorgefernandosara...@gmail.com To: r-help@r-project.org Cc: Sent: Tuesday, April 9, 2013 12:11 PM Subject: [R] rep() fails at times=0.29*100 Dear list, I have found an unusual behavior and would like to check