Re: [R] Bug on r-bc?

2010-07-27 Thread Paul Smith
On Tue, Jul 27, 2010 at 5:12 AM, Gabor Grothendieck ggrothendi...@gmail.com wrote: The following code should return 1, but it returns 0: source(http://r-bc.googlecode.com/svn/trunk/R/bc.R;) bc(9 % 2) See FAQ 2 on the r-bc package home page: http://r-bc.googlecode.com Thanks to all

Re: [R] Bug on r-bc?

2010-07-26 Thread Ben Bolker
Paul Smith phhs80 at gmail.com writes: Dear All, The following code should return 1, but it returns 0: source(http://r-bc.googlecode.com/svn/trunk/R/bc.R;) bc(9 % 2) Do you confirm this bug? It's not a bug in r-bc, it's a misfeature (?) in bc. It has to do with the 'scale'

Re: [R] Bug on r-bc?

2010-07-26 Thread Gabor Grothendieck
On Mon, Jul 26, 2010 at 1:44 PM, Paul Smith phh...@gmail.com wrote: Dear All, The following code should return 1, but it returns 0: source(http://r-bc.googlecode.com/svn/trunk/R/bc.R;) bc(9 % 2) See FAQ 2 on the r-bc package home page: http://r-bc.googlecode.com

Re: [R] Bug on r-bc?

2010-07-26 Thread Ben Bolker
Gabor Grothendieck ggrothendieck at gmail.com writes: See FAQ 2 on the r-bc package home page: http://r-bc.googlecode.com This is getting a little bit self-referential -- that FAQ refers to the previous message in this thread ... __

Re: [R] Bug on r-bc?

2010-07-26 Thread Gabor Grothendieck
On Mon, Jul 26, 2010 at 10:00 PM, Ben Bolker bbol...@gmail.com wrote: Gabor Grothendieck ggrothendieck at gmail.com writes: See FAQ 2 on the r-bc package home page: http://r-bc.googlecode.com  This is getting a little bit self-referential -- that FAQ refers to the previous message in this

Re: [R] Bug on r-bc?

2010-07-26 Thread Paul Smith
On Mon, Jul 26, 2010 at 11:42 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: The following code should return 1, but it returns 0: source(http://r-bc.googlecode.com/svn/trunk/R/bc.R;) bc(9 % 2) See FAQ 2 on the r-bc package home page: http://r-bc.googlecode.com Thanks to all

Re: [R] Bug on r-bc?

2010-07-26 Thread Gabor Grothendieck
On Mon, Jul 26, 2010 at 6:54 PM, Paul Smith phh...@gmail.com wrote: On Mon, Jul 26, 2010 at 11:42 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: The following code should return 1, but it returns 0: source(http://r-bc.googlecode.com/svn/trunk/R/bc.R;) bc(9 % 2) See FAQ 2 on the