Re: [Rd] BATCH and testing

2008-12-26 Thread Prof Brian Ripley
On Thu, 25 Dec 2008, Terry Therneau wrote: In a few of my test scripts for the survival code I expect warning messages (I actually try to trigger a couple). Using R BATCH infile outfile these messages don't end up in outfile, where I can compare them to what was expected. I don't see an optio

Re: [Rd] issue with [[<-Call

2008-12-26 Thread Prof Brian Ripley
The issue is that you are using [["weights"]] to add an element. It works for existing eleents as well as for [<- and $<-. However, I would have done this without a loop nm <- c("data", "weights", "subset", "na.action") extras <- nm %in% names(Call) temp[ nm[extras] ] <

[Rd] /bin/windows/base/rpatched.html page out of date

2008-12-26 Thread Simone Giannerini
Dear all, it looks like that something is wrong with the /bin/windows/base/rpatched.html page as it seems pointing to the 2.8.1rc version. Also, I do not know if it is relevant but notice the dates of the following files on ftp://ftp.stat.math.ethz.ch/Software/CRAN/bin/windows/base/ R-2.8.1pat-w

Re: [Rd] /bin/windows/base/rpatched.html page out of date

2008-12-26 Thread Prof Brian Ripley
We can do nothing about this: that area is managed by Duncan Murdoch (who is offline for about a week). http://cran.r-project.org/bin/windows/ does tell you who to contact. R-devel is never the right place for question about binary distributions (nor for CRAN pages, for which report to the CRA

Re: [Rd] issue with [[<-Call

2008-12-26 Thread Therneau, Terry M., Ph.D.
Brian, Thanks for the comments. -- I agree that the vector form is more compact. I was using a loop because I found it to be even more transparent to the class. For a one time task such as this efficiency is not an issue. -- I'll make use of eval.parent(). I hadn't yet stumbled on that -- T

Re: [Rd] issue with [[<-Call

2008-12-26 Thread Prof Brian Ripley
On Fri, 26 Dec 2008, Therneau, Terry M., Ph.D. wrote: Brian, Thanks for the comments. -- I agree that the vector form is more compact. I was using a loop because I found it to be even more transparent to the class. For a one time task such as this efficiency is not an issue. -- I'll make use

[Rd] Variogram.gls (PR#13418)

2008-12-26 Thread agalecki
Hello, 1. Illustrating example: sessionInfo at the end of this email library(nlme) fm1 <- gls(weight ~ Time * Diet, BodyWeight) Variogram(fm1, form = ~ Time | Rat)[1:10,] Error in FUN(X[[1L]], ...) : unused argument(s) (method = "euclidean") 2. It appears that the error is caused by the sta

[Rd] Acessing pdf help files (PR#13419)

2008-12-26 Thread marcthibault
Full_Name: Marc Thibault Version: 2.8.1 OS: Windows XP Pro SP2 Submission from: (NULL) (216.104.125.106) I had Adobe Acrobat 5 and Adobe Reader 9 installed. The .pdf "open" association is to Reader. When I selected "Help | Manuals(in pdf) | An Introduction to R", it brought up the file in Acrob

Re: [Rd] Acessing pdf help files (PR#13419)

2008-12-26 Thread Duncan Murdoch
marcthiba...@tanda.on.ca wrote: Full_Name: Marc Thibault Version: 2.8.1 OS: Windows XP Pro SP2 Submission from: (NULL) (216.104.125.106) I had Adobe Acrobat 5 and Adobe Reader 9 installed. The .pdf "open" association is to Reader. When I selected "Help | Manuals(in pdf) | An Introduction to

Re: [Rd] Acessing pdf help files (PR#13419)

2008-12-26 Thread Gabor Grothendieck
>From the Windows (not R) command line try this (the input you type is after the > and the output is on the next line). Modify the ftype line appropriately if the output of assoc is different for you. C:\tmp2>assoc .pdf .pdf=AcroExch.Document C:\tmp2>ftype AcroExch.Document AcroExch.Document="C:

[Rd] Patch to fix small bug in do_External and do_dotcall

2008-12-26 Thread Olaf Mersmann
I've stumbled upon a small bug/inconsitency in do_External and do_dotcall: Here's an example: % LC_ALL=C R --vanilla < symname-bug.R R version 2.8.0 (2008-10-20) *snip* > options(error=expression(0)) > ## Call 'R_GD_nullDevice' with incorrect parameter count: > .Call("R_GD_nullD

Re: [Rd] Patch to fix small bug in do_External and do_dotcall

2008-12-26 Thread Prof Brian Ripley
Thank you, but can we see the patch please (no attachement arrived)? On Sat, 27 Dec 2008, Olaf Mersmann wrote: I've stumbled upon a small bug/inconsitency in do_External and do_dotcall: Here's an example: % LC_ALL=C R --vanilla < symname-bug.R R version 2.8.0 (2008-10-20) *snip* > optio

Re: [Rd] Variogram.gls (PR#13418)

2008-12-26 Thread Prof Brian Ripley
It seems this was intended to be distance <- lapply(covar, function(el, metric) dist(as.matrix(el), method=metric), metric = metric) similarly to Variogram.lme. Thank you for the report: it will be fixed in t

Re: [Rd] Patch to fix small bug in do_External and do_dotcall

2008-12-26 Thread Olaf Mersmann
Excerpts from Prof Brian Ripley's message of Sat Dec 27 06:59:24 +0100 2008: > Thank you, but can we see the patch please (no attachement arrived)? I've posted them online: http://www.statistik.tu-dortmund.de/~olafm/files/symname-bug.R http://www.statistik.tu-dortmund.de/~olafm/files/symname-