[Rd] Speed difference between df$a[1] and df[1,"a"]

2011-10-19 Thread Stavros Macrakis
I was surprised to find that df$a[1] is an order of magnitude faster than df[1,"a"]: > df <- data.frame(a=1:10) > system.time(replicate(10, df$a[3])) user system elapsed 0.360.000.36 > system.time(replicate(10, df[3,"a"])) user system elapsed 4.090.004.09

[Rd] warnings issued at installation time not reported by 'R CMD check'

2011-10-19 Thread Hervé Pagès
Hi, Warnings issued at installation time are not reported by 'R CMD check'. Some of them are really important and telling something very useful to the developer. See for example this warning: http://bioconductor.org/checkResults/2.9/bioc-LATEST/globaltest/wilson2-checksrc.html Actually, there

Re: [Rd] list of operations that preserve attributes

2011-10-19 Thread Prof Brian Ripley
There is a description in the 'Blue Book' (Becker et al, 1988) of when attributes are supposed to be preserved, and R mostly conforms to it. This is discussed somewhere relevant in the R documentation: I would have to search for exactly where, so I leave that to you. On Wed, 19 Oct 2011, Joh

Re: [Rd] No R-2.14 beta executable for windows?

2011-10-19 Thread Dan Tenenbaum
On Wed, Oct 19, 2011 at 1:19 PM, Dan Tenenbaum wrote: > Hi Peter, > > On Tue, Oct 18, 2011 at 11:24 PM, peter dalgaard wrote: >> >> On Oct 19, 2011, at 07:52 , Dan Tenenbaum wrote: >> >>> The link to the installer exe here: >>> >>> http://cran.fhcrc.org/bin/windows/base/rtest.html >>> >>> ...has

Re: [Rd] No R-2.14 beta executable for windows?

2011-10-19 Thread Dan Tenenbaum
Hi Peter, On Tue, Oct 18, 2011 at 11:24 PM, peter dalgaard wrote: > > On Oct 19, 2011, at 07:52 , Dan Tenenbaum wrote: > >> The link to the installer exe here: >> >> http://cran.fhcrc.org/bin/windows/base/rtest.html >> >> ...has been broken for a couple days? >> > > Looks like a local mirrori

Re: [Rd] No R-2.14 beta executable for windows?

2011-10-19 Thread Hervé Pagès
Hi, On 11-10-18 11:24 PM, peter dalgaard wrote: On Oct 19, 2011, at 07:52 , Dan Tenenbaum wrote: The link to the installer exe here: http://cran.fhcrc.org/bin/windows/base/rtest.html ...has been broken for a couple days? Looks like a local mirroring issue, CRAN master works, so does

[Rd] list of operations that preserve attributes

2011-10-19 Thread John C Nash
I've been trying to prepare some wrappers for optimization objective functions and gradients that use try() to check for computable functions. I'm also trying to do scaling as per optim() so that a number of methods that are available on CRAN and R-Forge can use parameter and function scaling. T

[Rd] RFC: 'igraph' package update and backward compatibility

2011-10-19 Thread Gábor Csárdi
Dear R developers, I am seeking advice on some $subject matter. My package will have an update soon, that is not backward compatible with the current version. It will likely break much of the existing code. Many (~50) packages depend on 'igraph' and they, too, will most probably break with the n

Re: [Rd] readRDS and saveRDS

2011-10-19 Thread Joris Meys
You find some (very brief) information here : http://www.rforge.net/mediawiki/index.php/Aleph Cheers Joris On Wed, Oct 19, 2011 at 4:08 PM, Kevin R. Coombes wrote: > I have no idea what "aleph" is now or is likely to become. > > If I follow your URL for the mailing list and click on the "archive

Re: [Rd] readRDS and saveRDS

2011-10-19 Thread Kevin R. Coombes
I have no idea what "aleph" is now or is likely to become. If I follow your URL for the mailing list and click on the "archives" link, it tells me that there are no posts and the archive is empty, which makes it rather difficult to find out what aleph is (or why I should care). Perhaps there

Re: [Rd] readRDS and saveRDS

2011-10-19 Thread Joris Meys
2011/10/19 Simon Urbanek : > > I'd like to collect as many such ideas as possible so we don't forget > something in unlikely case Aleph gets off the ground. :) > > Thanks, > Simon > Simon, >From our department : Yes, You Can! Give us an A Give us an L Give us an E Give us a P Give us an H Giv

Re: [Rd] readRDS and saveRDS

2011-10-19 Thread Simon Urbanek
On Oct 18, 2011, at 8:32 PM, Hervé Pagès wrote: > On 11-10-18 04:00 PM, Kevin Wright wrote: >> Hadley, >> >> Any chance of changing fun.aggregate to FUN and value_var to value.var? >> >> aggregate(.., FUN, ...) >> acast(..., fun.aggregate, ...) >> >> cast(..., value.var) >> acast(..., value_va