Re: [Rd] data frame subscription operator

2006-11-08 Thread Prof Brian Ripley
'[' is the 'subscript' or 'extraction', not 'subscription' operator: this is also called 'indexing', as in 'An Introduction to R'. On Mon, 6 Nov 2006, Vladimir Dergachev wrote: I was looking at the data frame subscription operator (attached in the end of this e-mail) and got puzzled by the

Re: [Rd] Getting the name of a SEXP type in package code?

2006-11-08 Thread Seth Falcon
Prof Brian Ripley [EMAIL PROTECTED] writes: type2char is itself a fairly recent addition (there is also type2str, which is older) that I found useful for improving messages in R itself. I have not encountered such a need in package code, but the function is exported. This is not a request

Re: [Rd] Chi-squared test (PR#9350)

2006-11-08 Thread McGehee, Robert
Is Sahotra's abuse sending a wishlist item to R-bugs, or is his error phrasing a suggestion in the form of a question? It seems others have commented on the inability to specify df for chisq.test (see: http://tolstoy.newcastle.edu.au/R/help/05/01/10539.html), and adding an option certainly seems

Re: [Rd] data frame subscription operator

2006-11-08 Thread Vladimir Dergachev
On Wednesday 08 November 2006 3:21 am, Prof Brian Ripley wrote: So far I was not able to figure out why this is necessary - could anyone help ? You need to remove the class to avoid recursion: a few lines later x[i] needs to be a call to the primitive and not the data frame method. I see.

[Rd] Making Solaris 10 x86/x64 build of R available?

2006-11-08 Thread Tai-Wei (David) Lin
Hi Folks, I've been working on a 32bit build of R on Solaris 10 x64. What are the steps for validate a build beyond make check? Once I am ready to contribute a binary build / HowTo doc, who should I contact? Thanks, David __ R-devel@r-project.org

Re: [Rd] data frame subscription operator

2006-11-08 Thread Gabor Grothendieck
.subset and .subset2 are equivalent to [ and [[ except that dispatch does not take place. See ?.subset On 11/8/06, Vladimir Dergachev [EMAIL PROTECTED] wrote: On Wednesday 08 November 2006 3:21 am, Prof Brian Ripley wrote: So far I was not able to figure out why this is necessary -

Re: [Rd] Making Solaris 10 x86/x64 build of R available?

2006-11-08 Thread Prof Brian Ripley
On Wed, 8 Nov 2006, Tai-Wei (David) Lin wrote: Hi Folks, I've been working on a 32bit build of R on Solaris 10 x64. What are the steps for validate a build beyond make check? make check-all is a more comprehensive test, including of the recommended packages. Once I am ready to contribute

[Rd] boxplot ignores 'boxfill' (PR#9352)

2006-11-08 Thread arnima
The boxplot.default() function ignores argument 'boxfill' passed by user: x - rnorm(100) boxplot(x, boxfill=blue) boxplot(x, pars=list(boxfill=green)) As the original creator of the 'boxfill' argument, I'd like to propose the following change to the if(plot) clause in boxplot.R:

Re: [Rd] allocVector bug ?

2006-11-08 Thread Vladimir Dergachev
On Wednesday 08 November 2006 12:56 pm, Luke Tierney wrote: On Mon, 6 Nov 2006, Vladimir Dergachev wrote: Hi Luke, I generally agree with this, however I believe that current logic breaks down for large allocation sizes and my code ends up spending 70% (and up) of computer time

Re: [Rd] Chi-squared test (PR#9350)

2006-11-08 Thread Kasper Daniel Hansen
On Nov 8, 2006, at 9:44 PM, Kasper Daniel Hansen wrote: Upon further reflection on my part I have realized that my original email was way too harsh - even for the sometimes harsh tone on R- devel. Having spent a few more minutes reflecting on the original question and reading the old