Re: [Rd] support for radix order() over entire range of integers
On Fri, 11 Jun 2010, Michael Lawrence wrote: Hi, Is there any good reason not to allow radix sorting via order() over the entire range of R (32bit) integers, instead of setting a hard limit at 100,000? Many machines have plenty of memory to support this. Seems like it Really? That's 16Gb on my understanding of your proposal (2^32-1 4-byte uints). Not 'many machines' in my experience, but some. But the limit was set in 2003 when that code was written, and it was added for speed with factors, where 100,000 was plenty. is just a matter of dynamic allocating the bucket array instead of the current static allocation. Hmm, it is currently automatically allocated: it would need to be malloc-ed. Might be worth keeping automatic allocation for smaller ranges. This would really help with e.g. sorting positions in the genome. I'm happy to submit a patch if this sounds sensible. Yes please. Thanks, Michael [[alternative HTML version deleted]] Please don't send HTML. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] CHM help does not find help docs in package stats
Which version of R is this? CHM help is R < 2.10.0. All versions thereafter do not support compiled html help anymore. Please upgrade your version of R and try one of the currently supported help formats. Best wishes, Uwe Ligges On 11.06.2010 12:06, Thaler, Thorn, LAUSANNE, Applied Mathematics wrote: Hi all, currently I'm working on an R package bundling some frequently used functions. When I load my package and type ?one_of_my_functions I get the particular help file. If I try to get help on another function, which is part of package stats (prcomp say), I get "This program cannot display the webpage". A help on ?mean does, however, work as it opens a new window showing the help on mean. There is another peculiarity, if it happens that I requested a help file for a function in the package stats before I used the help on one of my functions, everything works out fine. Does anybody know how I can get rid of this annoying behavior? It has to have something to do with my particular package, since everything works as expected with another package of mine. I override one of the functions of stats (biplot.default), which is, however, not exported and resides within my namespace. Could that be the reason? Any help highly appreciated. Thanks + BR, Thorn __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel