[Rd] 'ecdf': how about exploiting property that 'x' is sorted?

2013-02-05 Thread Suharto Anggono Suharto Anggono
In the code of function 'ecdf' di R (for example, version 2.15.2), input 'x' is sorted first. Because the values are sorted, same values are contiguous. So, how about using an approach as inside function 'rle'? Because missing values is removed by 'sort', it can be done like this. i <- c(which(

Re: [Rd] Error building R from SVN - unable to run 'pdflatex' on 'example-1.tex'

2013-02-05 Thread Jonathon Love
yup. that fixed it. thanks for your help. there are a handful of extra files in the source tarball (some pdfs, etc.), that aren't in the SVN. it appears that building these requires a bunch more stuff installed, and that's why building the source tarball worked, but not the SVN contents. wit

[Rd] Money

2013-02-05 Thread ivo welch
ladies and gents---is there a list of what the R core team would like to get funded? let's presume that we could raise $100,000 or $1,000,000 (or even $10,000,000) for the core team. what would the R core team do with the money? is there a list somewhere, perhaps like kickstarter? my preference

[Rd] How to use summary.mer inside a package?

2013-02-05 Thread Benjamin Hofner
I have a question regarding the build of my project papeR (hosted on R-forge http://r-forge.r-project.org/R/?group_id=1574) with respect to lme4. Both, Windows and MacOS are complaining that lme4 doesn't export summary: Error : object 'summary' is not exported by 'namespace:lme4' ERROR: la

Re: [Rd] setGeneric() gives "must supply skeleton" when checking package

2013-02-05 Thread Tim Bergsma
Martin, I added "importFrom(reshape, cast)" to NAMESPACE; package now survives R CMD check. Thanks for your help! -Tim On Sun, Feb 3, 2013 at 12:36 PM, Martin Morgan wrote: > On 02/02/2013 02:34 PM, Tim Bergsma wrote: > >> r-devel, >> >> In a development version of the CRAN package metrumrg,

Re: [Rd] best practice for packages using mclapply to avoid tcltk

2013-02-05 Thread Paul Johnson
On Sun, Feb 3, 2013 at 1:34 PM, Simon Urbanek wrote: > As Peter pointed out earlier, this is better addressed by disabling the > Tcl/Tk event loop in forked processes. > Dear Simon: I don't understand. Can you please try to say it again? I find Peter's comment (on Jan 3, 2013, thread title: we