Re: [Rd] Mirroring R on a DVCS

2013-03-24 Thread Laurent Gautier
Hi again, The branch R-3-0-branch appears to be missing from the mirror. Best, Laurent On 2013-03-16 21:38, Winston Chang wrote: The Github mirror isn't affiliated with R-core developers -- it just fetches the changes from the R SVN repository periodically. Changes won't go upstream to

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

2013-03-24 Thread Duncan Murdoch
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), rep(-x,999))) [1] 1073741824 Tested on 2.15.2 and a

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

2013-03-24 Thread Paul Johnson
I hope you are doing well. For me, this was an unexpected problem. I've hoped for quite a few wrong things today, but I'm only asking you about this one. Why does ifelse(1, list(a, b, c), list(x, y, z)) return a list with only a, not list(a, b, c) as I hoped. I wish it would either cause an

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

2013-03-24 Thread Joshua Wiley
Hi Paul, Wonder why this is an R devel thing? ifelse is vectorizedthere should be logical conditions matching the length of the output. ifelse(c(1, 1, 1), list(a=2, b=3, c=4), list(d=1, e=2, f=3)) otherwise it is truncated. Also note that both results have to be valid, because both are

Re: [Rd] Mirroring R on a DVCS

2013-03-24 Thread Winston Chang
Thanks, it should be fixed now. On Sun, Mar 24, 2013 at 9:33 AM, Laurent Gautier lgaut...@gmail.com wrote: Hi again, The branch R-3-0-branch appears to be missing from the mirror. Best, Laurent On 2013-03-16 21:38, Winston Chang wrote: The Github mirror isn't affiliated with R-core