Re: [Rd] unique.matrix issue [Was: Anomaly with unique and match]

2011-03-12 Thread Petr Savicky
On Thu, Mar 10, 2011 at 01:19:48AM -0800, Henrik Bengtsson wrote: It should be possible to run unique()/duplicated() column by column and incrementally update the set of unique/duplicated rows. This would avoid any coercing. The benefit should be even greater for data.frame():s. This is a

[Rd] Run script automatically when package is loaded

2011-03-12 Thread Janko Thyson
Dear list, is it possible to specify a script that is executed automatically when my package is mounted via 'require(my.pkg)' or 'library(my.pkg)'? Id' like to specify execute a small init function that creates some crucial environment structures. As it's always the first thing to do when using

Re: [Rd] WARNING Undocumented S4 methods 'initialize' - why?

2011-03-12 Thread cstrato
Dear all, Meanwhile I found my mistake. I forgot to add class QualTreeSet to 'initialize-methods.Rd'. However, I am not sure if I should make 'initialize' public at all. Best regards Christian On 3/11/11 9:58 PM, cstrato wrote: Dear all, I am just writing the documentation file for S4 class

Re: [Rd] Run script automatically when package is loaded

2011-03-12 Thread Dirk Eddelbuettel
On 12 March 2011 at 14:06, Janko Thyson wrote: | Dear list, | | is it possible to specify a script that is executed automatically when my | package is mounted via 'require(my.pkg)' or 'library(my.pkg)'? That has been possible all along. See help(.onLoad) if you use a NAMESPACE (as you should)

[Rd] par(ask=TRUE) in R CMD check?

2011-03-12 Thread Spencer Graves
Hello: What happens in the auto-checks on R-Forge and CRAN with code using par(ask=TRUE)? Is this routine, or can it create problems? The fda package uses ask=TRUE to provide the user with a way to examine a group of plots. In the past, I've marked those tests in

Re: [Rd] par(ask=TRUE) in R CMD check?

2011-03-12 Thread Prof Brian Ripley
On Sat, 12 Mar 2011, Spencer Graves wrote: Hello: What happens in the auto-checks on R-Forge and CRAN with code using par(ask=TRUE)? Is this routine, or can it create problems? The fda package uses ask=TRUE to provide the user with a way to examine a group of plots. In the

[Rd] Excited about the near future...

2011-03-12 Thread Henrik Bengtsson
Some already know, but I think it deserves a bit of a attention here as well: It looks like we're about to get new features in R that will be very powerful! That should be a good enough teaser for now... /Henrik PS ...and thanks for making it available plus credits to similar efforts by