Re: [Rd] How to link to vignette from .Rd file

2006-11-08 Thread Agner Fog
Thanks for the tip. I had thought of using the demo facility for this but I didn't know how to check for the operating system. This is a clumsy solution, but better than nothing. I agree with Duncan that there is a problem with the help system. It should either have a way to embed formulas and g

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

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 li

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.

[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 mail

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] allocVector bug ?

2006-11-08 Thread Luke Tierney
On Mon, 6 Nov 2006, Vladimir Dergachev wrote: > > Hi Luke, > > Thank you for the patient reply ! > > I have looked into the issue a little deeper, comments below: > > On Thursday 02 November 2006 11:26 pm, Luke Tierney wrote: >> On Wed, 1 Nov 2006, Vladimir Dergachev wrote: >>> Hi all, >>> >>>

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 contrib

[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

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

Re: [Rd] data frame subscription operator

2006-11-08 Thread Vladimir Dergachev
On Wednesday 08 November 2006 11:41 am, Gabor Grothendieck wrote: > .subset and .subset2 are equivalent to [ and [[ except that > dispatch does not take place. See ?.subset > Thank you Gabor ! I made an experiment and got rid of class(x) <- attr(x, "row.names") <- NULL while replacing all

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

2006-11-08 Thread Kasper Daniel Hansen
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 thread Robert linked to, it seems that there is indeed some ques

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