RE: [Rd] segfault on large number of open brackets (PR#7859)

2005-05-12 Thread andy_liaw
I believe that's been fixed in R-2.1.0. Please check. I got the same segfault with R-2.0.1 on SuSE Linux x86_64, but on both that machine and my WinXP latop, I get syntax error. E.g., R : Copyright 2005, The R Foundation for Statistical Computing Version 2.1.0 Patched (2005-05-12), ISBN 3-90005

RE: [Rd] as.data.frame: Error in "names<-.default" (PR#7808)

2005-04-23 Thread andy_liaw
> From: [EMAIL PROTECTED] > > Hello, > I found a potential problem in R 2.1.0 (and R 2.0.1) > > I expect that > > > tmp <- FUN(x1, x2, x3, x4) > > as.data.frame(tmp) > > is the same as > > as.data.frame(FUN(x1, x2, x3, x4)) > > since the tmp variable in this case is unnecessary. > > However,

[Rd] predict.glm(..., type="response") dropping names (and a propsed (PR#7792)

2005-04-14 Thread andy_liaw
Here's a patch that should make predict.glm(..., type="response") retain the names. The change passes make check on our Opteron running SLES9. One simple test is: names(predict(glm(y ~ x, family=binomial, data=data.frame(y=c(1, 0, 1, 0), x=c(1, 1, 0, 0))), newdata

RE: [Rd] print() from within a function - Windows specific? ( (PR#7587)

2005-01-28 Thread andy_liaw
It really pays to RTFM sometimes:=20 http://cran.r-project.org/bin/windows/base/rw-FAQ.html#The-output-to-the-con sole-seems-to-be-delayed Andy > From: [EMAIL PROTECTED] >=20 > Full_Name: Markus Liedgens > Version: Ever since 1.6 > OS: Windows 98 / Windows Xp > Submission from: (NULL) (81.63.111.

RE: [Rd] Help Documentation (PR#6717)

2004-03-29 Thread andy_liaw
Ivo, Let me address your points in reverse order: 1. There is a `wishlist' category for bug reports, which I guess you've overlooked. 2. There is also a `Contributed Documentation' section on the R web site, which you can submit your contribution. As well, there are a few introductory level doc

RE: [Rd] exit() and stop() documentation (PR#6706)

2004-03-28 Thread andy_liaw
You seem to have not read the message shown at R startup: R : Copyright 2003, The R Foundation for Statistical Computing Version 1.8.1 (2003-11-21), ISBN 3-900051-00-3 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'lic

RE: [Rd] qnorm(2) ends with segmentation fault (PR#6648)

2004-03-05 Thread andy_liaw
Which Linux is that, and is R compiled from source? I tested both on SLES8 for amd64 and Mandrake 9 on Xeon, compiled R from source in both. I just get NaN and a warning about the NaN. (I tried qnorm(2) as the subject says.) Andy > From: [EMAIL PROTECTED] > > > Full_Name: Xiong Guanglei > Ve

RE: [Rd] cat() in long-running functions only shows up on (PR#6638)

2004-03-02 Thread andy_liaw
Please do read the R for Windows FAQ! Andy > From: [EMAIL PROTECTED] > > > Full_Name: Peter McMahan > Version: R 1.8.0 GUI > OS: Windows 2000 > Submission from: (NULL) (67.107.205.66) > > > when running long functions with cat() commands inside, the > requested data > doesn't show up until e

RE: [Rd] apply on logical data frame together with all (PR#6560

2004-02-09 Thread andy_liaw
Wrap your data frame in data.matrix() and you should be fine; e.g., apply(data.matrix(df), 1, all) Don't think this qualifies as bug... Andy > From: [EMAIL PROTECTED] > > Full_Name: Roland Puntaier > Version: 1.8.1 > OS: Windows XP > Submission from: (NULL) (62.99.238.78) > > > I have a da

RE: [Rd] plot.lm mislabels points with na.exclude (PR#3750)

2003-08-15 Thread andy_liaw
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > "AndyL" == andy liaw <[EMAIL PROTECTED]> > > on Fri, 15 Aug 2003 04:08:59 +0200 (MET DST) writes: > > AndyL> Here's one possible fix (may not be very efficient). > AndyL> Change lines 82-83 in $R_HOME/src/base/R/plot.l

RE: [Rd] plot.lm mislabels points with na.exclude (PR#3750)

2003-08-14 Thread andy_liaw
Here's one possible fix (may not be very efficient). Change lines 82-83 in $R_HOME/src/base/R/plot.lm.R to the following: if (id.n > 0) { qqx <- rep(NA, n) qqy <- rep(NA, n) qqx[!is.na(rs)] <- qq$x qqy[!is.na(rs)] <- qq$y text.id