Re: [Rd] (PR#8877) predict.lm does not have a weights argument for newdata

2006-05-24 Thread jranke
Prof. Ripley, thank you for being more explicit now! Thank you also for the fix to the wish that you derived from my bug report. Here comes the rationale for my updated patch, which I *humbly* propose as a more general solution to the problem. I have spent several days now on this problem, but I

[Rd] 2.3 issues on Mac

2006-05-24 Thread Ryan Lovett
/Library/Frameworks/R.framework/Versions/2.3/Resources/etc/ppc/Renviron and /Library/Frameworks/R.framework/Versions/2.3/Resources/etc/i386/Renviron both use /usr/local/teTeX/bin/powerpc-apple-darwin-current for LaTeX related variables. Could this be updated for i386 to take into account the teTeX

Re: [Rd] Problem with pasteing formulas (PR#8897)

2006-05-24 Thread François Pinard
[Brian Ripley] >Note: > 'as.character' truncates components of language objects to 500 > characters (was about 70 before 1.3.1). >so it is working as documented. Not then a bug. Wrong reasoning. Bugs may well be documented :-) -- François Pinard http://pinard.progiciels-bpi.ca

Re: [Rd] Problem with pasteing formulas (PR#8897)

2006-05-24 Thread ripley
See ?as.character (which paste effectively calls on non-character objects, as ?paste says): Note: 'as.character' truncates components of language objects to 500 characters (was about 70 before 1.3.1). so it is working as documented. Not then a bug. You can (and probably should) us

[Rd] Problem with pasteing formulas (PR#8897)

2006-05-24 Thread john . little
Hi, If I create a formula with say 100 terms and then paste it: xnam <- paste("x", 1:100, sep="") fmla <- as.formula(paste("y ~ ", paste(xnam, collapse= "+"))) paste(fmla) The result seems to cut off everything after the first 500 characters and gives no warning message. I have the most recent

Re: [Rd] optim "CG" bug w/patch proposal (PR#8786)

2006-05-24 Thread ripley
On Wed, 17 May 2006, Prof Brian Ripley wrote: > On Wed, 17 May 2006, [EMAIL PROTECTED] wrote: > >> >>> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> >>> on Tue, 16 May 2006 08:34:06 -0400 writes: >> >>Duncan> On 5/16/2006 4:56 AM, [EMAIL PROTECTED] >>Duncan> wrote: >>>> P

Re: [Rd] (PR#8877) predict.lm does not have a weights argument for

2006-05-24 Thread Prof Brian Ripley
On Wed, 24 May 2006, Peter Dalgaard wrote: > [EMAIL PROTECTED] writes: > >> (a) case weights: w_i = 3 means `I have three observations like (y, x)' >> >> (b) inverse-variance weights, most often an indication that w_i = 1/3 >> means that y_i is actually the average of 3 observations at x_i. >> >>

Re: [Rd] Wishlist: Vignettes on CRAN

2006-05-24 Thread Friedrich Leisch
> On Mon, 22 May 2006 21:42:34 -0700, > Seth Falcon (SF) wrote: > "Gabor Grothendieck" <[EMAIL PROTECTED]> writes: >> This would certainly be nice. >> >> Note that the BioConductor package vignettes are online: >> http://www.bioconductor.org/docs/vignettes.html >> but there is

[Rd] the computation of exact p-value for the nonparametric cor-test with ties

2006-05-24 Thread Antonietta di Salvatore
Hello, I wuold like to propose my modifications of the original cor.test to you : I tried to calcolate the correct p-value for Spearman and Kendall's test with ties. Let me know what you think. Thanks you for your time. Antonietta di Salvatore test <- function(x, ...) UseMethod("test") test

Re: [Rd] Suggesting changes to HELP files?

2006-05-24 Thread Friedrich Leisch
> On 5/21/06, Spencer Graves <[EMAIL PROTECTED]> wrote: >> Is there a procedure for suggesting changes to HELP files of the core >> R distribution? If yes, what is it? If it would be considered a >> friendly gesture, I could find the relevant *.Rd file and submit a >> suggested modifica

Re: [Rd] (PR#8877) predict.lm does not have a weights argument for

2006-05-24 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > (a) case weights: w_i = 3 means `I have three observations like (y, x)' > > (b) inverse-variance weights, most often an indication that w_i = 1/3 > means that y_i is actually the average of 3 observations at x_i. > > (c) multiple imputation, where a case with missin