Re: [Rd] double in summary.c : isum

2013-03-25 Thread Prof Brian Ripley
On 24/03/2013 15:01, Duncan Murdoch wrote: On 13-03-23 10:20 AM, Matthew Dowle wrote: On 23.03.2013 12:01, Prof Brian Ripley wrote: On 20/03/2013 12:56, Matthew Dowle wrote: Hi, Please consider the following : x = as.integer(2^30-1) [1] 1073741823 sum(c(rep(x, 1000),

Re: [Rd] ifelse can't return a list? Please explain (R-2.15.3)

2013-03-25 Thread Patrick Burns
When you what you hope for turns out to be wrong, then have a look at 'The R Inferno'. http://www.burns-stat.com/documents/books/the-r-inferno/ It does talk about 'ifelse'. Pat On 25/03/2013 02:21, Paul Johnson wrote: I hope you are doing well. For me, this was an unexpected problem. I've

Re: [Rd] double in summary.c : isum

2013-03-25 Thread Matthew Dowle
On 25.03.2013 09:20, Prof Brian Ripley wrote: On 24/03/2013 15:01, Duncan Murdoch wrote: On 13-03-23 10:20 AM, Matthew Dowle wrote: On 23.03.2013 12:01, Prof Brian Ripley wrote: On 20/03/2013 12:56, Matthew Dowle wrote: Hi, Please consider the following : x = as.integer(2^30-1) [1]

Re: [Rd] double in summary.c : isum

2013-03-25 Thread Matthew Dowle
On 25.03.2013 11:27, Matthew Dowle wrote: On 25.03.2013 09:20, Prof Brian Ripley wrote: On 24/03/2013 15:01, Duncan Murdoch wrote: On 13-03-23 10:20 AM, Matthew Dowle wrote: On 23.03.2013 12:01, Prof Brian Ripley wrote: On 20/03/2013 12:56, Matthew Dowle wrote: Hi, Please consider the

Re: [Rd] double in summary.c : isum

2013-03-25 Thread Matthew Dowle
On 25.03.2013 11:31, Matthew Dowle wrote: On 25.03.2013 11:27, Matthew Dowle wrote: On 25.03.2013 09:20, Prof Brian Ripley wrote: On 24/03/2013 15:01, Duncan Murdoch wrote: On 13-03-23 10:20 AM, Matthew Dowle wrote: On 23.03.2013 12:01, Prof Brian Ripley wrote: On 20/03/2013 12:56, Matthew

[Rd] Rd.sty not found

2013-03-25 Thread Lori Shepherd
I'm trying to build and check a new package. But keep getting the warning: * checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. When I go into the package.Rcheck directory, package-manual.pdf is created. however if I do a

Re: [Rd] Rd.sty not found

2013-03-25 Thread Duncan Murdoch
On 25/03/2013 12:27 PM, Lori Shepherd wrote: I'm trying to build and check a new package. But keep getting the warning: * checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. When I go into the package.Rcheck directory,