Re: [Rd] Suggestion: help(package name)

2005-06-07 Thread Thomas Lumley
On Tue, 7 Jun 2005, Henrik Bengtsson wrote: Kurt Hornik wrote: How would this be different from the results of help(package = package name) ? Thanks for that. I was not aware of this one; I like how DESCRIPTION is included and how the index is divided in functions and dataset,

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

2005-05-12 Thread Thomas Lumley
@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [Rd] Problem with pbirthday (PR#7837)

2005-05-04 Thread Thomas Lumley
On Wed, 4 May 2005 [EMAIL PROTECTED] wrote: It seems to me that the line in the function if (n classes) return(1) is only relevant to the default case of coincident = 2. (Naturally, if there are more people than classes, then at least one class must contain 2 people). Yep, looks like a bug to me.

Re: [Rd] Speeding up library loading

2005-04-25 Thread Thomas Lumley
On Mon, 25 Apr 2005, Duncan Murdoch wrote: Ali - wrote: Is it possible to break the package into multiple parts, perhaps like a bundle? Then you could only load the parts that you need at any particular time. It could be done, but the question is, what if one of the packages in the bundle

Re: [Rd] about mantelhaen.test (PR#7779)

2005-04-07 Thread Thomas Lumley
mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [Rd] a couple of things about :

2005-04-07 Thread Thomas Lumley
On Thu, 7 Apr 2005, Liaw, Andy wrote: - It seems counter-intuitive to allow non-integer values as operand for :. It also seems a bit odd that 1:2 returns something with storage.mode integer, whereas 0.5:2 gives doubles. Would it make sense to disallow non-integer operands to :? I can't think of

Re: [Rd] complex tangent (PR#7781)

2005-04-07 Thread Thomas Lumley
On Thu, 7 Apr 2005 [EMAIL PROTECTED] wrote: static void z_tan(Rcomplex *r, Rcomplex *z) { double x2, y2, den; x2 = 2.0 * z-r; y2 = 2.0 * z-i; den = cos(x2) + cosh(y2); r-r = sin(x2)/den; /* any limit above about log(DBL_EPSILON) will do */ if (fabs(r-i) 40.0) You need z-i (or

Re: [Rd] strange error with rw2010dev

2005-03-28 Thread Thomas Lumley
On Mon, 28 Mar 2005, Kjetil Brinchmann Halvorsen wrote: testmat - matrix(1:80, 20,4) dim(testmat) [1] 20 4 str(testmat) int [1:20, 1:4] 1 2 3 4 5 6 7 8 9 10 ... testframe - data.frame(testmat=I(testmat), x=rnorm(20), y=rnorm(20), z=sample(1:20)) str(testframe) `data.frame': 20 obs. of 4

Re: [Rd] Trigonometric functions (PR#7728)

2005-03-15 Thread Thomas Lumley
On Wed, 16 Mar 2005, Peter Kleiweg wrote: Thomas Lumley schreef op de 15e dag van de lentemaand van het jaar 2005: x-sqrt(2) asin(x^2-1) result in: NaN Because you can't take the arcsin of 2^2-1=3. Wrong answer. You're right. It's actually because you can't take the arcsin of 1+4.4e-16. Same

Re: [Rd] double/integer (PR#7687)

2005-02-11 Thread Thomas Lumley
On Fri, 11 Feb 2005 [EMAIL PROTECTED] wrote: Full_Name: Chris Spencer Version: 2.0.1 OS: Linux Submission from: (NULL) (163.1.211.93) Dear R team, I realise that the following is a bit unsafe (the combination of doubles and integers), however I wondered whether the following behaviour is expected:

RE: [Rd] Very Long Expressions

2005-01-24 Thread Thomas Lumley
On Mon, 24 Jan 2005, Prof Brian Ripley wrote: On Mon, 24 Jan 2005, McGehee, Robert wrote: [Instructions to the R developers deleted.] Secondly, the ?options help (thanks for everyone who reminded me about this), says that expressions can have values between 25...10. However, if the original

RE: [Rd] Should NEVER happen;

2005-01-19 Thread Thomas Lumley
__ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL

[Rd] DSC 2005

2005-01-12 Thread Thomas Lumley
On Wed, 12 Jan 2005, Marc Schwartz wrote to r-help: I have not seen anything posted yet for DSC 2005, unless I missed it someplace. DSC 2005 will be held in Seattle, at the University of Washington, August 13-15. This date is immediately after the Joint Statistical Meetings, and was chosen for

Re: [Rd] Standalone Mathlib, C++ and ISNAN()

2005-01-08 Thread Thomas Lumley
is a macro on my Mac laptop but a function on my Linux desktop. R-devel now defines ISNAN to call a function if used in C++ code. It still calls isnan in C code. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle

Re: [Rd] Standalone Mathlib, C++ and ISNAN()

2005-01-05 Thread Thomas Lumley
On Wed, 5 Jan 2005, Bill Northcott wrote: If building against a full R library, one might possible use R_IsNaN instead but this function is not included in libRmath v2.0 and the function R_IsNaNorNA which was used in libRmath v1.9 no longer exists Yes, but in your standalone C or C++ code you

Re: [Rd] Standalone Mathlib, C++ and ISNAN()

2005-01-05 Thread Thomas Lumley
for which isnan() is a macro, the code breaks at compile time with 'isnan() undeclared'. I believe (with a little Googling) the suggested C++ approach is to use std::isnan if cmath is included. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED

Re: [Rd] Standalone Mathlib, C++ and ISNAN()

2005-01-05 Thread Thomas Lumley
On Thu, 6 Jan 2005, Bill Northcott wrote: On 06/01/2005, at 6:53 AM, Thomas Lumley wrote: I believe (with a little Googling) the suggested C++ approach is to use std::isnan if cmath is included. I tried that too, but without any success. I even tried __gnu_cxx::isnan. It was suggested by one

Re: [Rd] Option for Delete downloaded files (y/N)? in install.packages()

2005-01-04 Thread Thomas Lumley
On Wed, 5 Jan 2005, Gorjanc Gregor wrote: Hello! I have a wish/proposal. Is it possible to include some option in install.packages() for Delete downloaded files (y/N)? at the end of that process. It can be quite anoying if you must install several packages and wait meanwhile to type y/n for each

Re: [Rd] optim/vmmin and R_alloc

2004-12-31 Thread Thomas Lumley
On Fri, 31 Dec 2004, [iso-8859-1] Göran Broström wrote: Regarding 2., I tried the combination vmaxget + Calloc + vmaxset, ie, I began my function with vmax = vmaxget() and ended it with vmaxset(vmax). The point with this is that you can free all allocated memory with one call instead of repeated

Re: [Rd] is.vector(...) - is(..., vector)

2004-12-30 Thread Thomas Lumley
! Matthias __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle

Re: [Rd] optim/vmmin and R_alloc

2004-12-30 Thread Thomas Lumley
On Thu, 30 Dec 2004, [iso-8859-1] Göran Broström wrote: However, and that is my question/suggestion: Why not use Calloc+Free instead of R_alloc in vmmin (and maybe in other places)? I made the changes in 'optim.c' in the functions 'vmmin' and 'Lmatrix'. Then I rebuilt and reinstalled R-2.0.1. The

Re: [Rd] optim/vmmin and R_alloc

2004-12-30 Thread Thomas Lumley
On Thu, 30 Dec 2004, [iso-8859-1] Göran Broström wrote: On Thu, Dec 30, 2004 at 08:01:41AM -0800, Thomas Lumley wrote: On Thu, 30 Dec 2004, [iso-8859-1] Göran Broström wrote: However, and that is my question/suggestion: Why not use Calloc+Free instead of R_alloc in vmmin (and maybe in other places

Re: [Rd] Modulus Bug (PR#7409)

2004-12-09 Thread Thomas Lumley
On Thu, 9 Dec 2004 [EMAIL PROTECTED] wrote: This is nothing to do with integers: 1e18 and 11 are doubles here. It is a result of rounding error: 1e18/11 is not representable accurately, and this should have been a warning to you that your calculations were unreasonable. It was -- the poster

Re: [Rd] RFC: Different handling of commands from clipboard in Windows Re: [R] how to pause between plots running scripts?

2004-11-29 Thread Thomas Lumley
On Sun, 28 Nov 2004, Duncan Murdoch wrote: Another that deals only with the original graphics problem is to have par(ask=T) wait for input to the graphics window, rather than to the console. This has the advantage that the graphics window probably has the focus, so a simple Enter there could

Re: [Rd] user error described in the FAQ (was [BUG?] xyplot in loop does not work)

2004-11-22 Thread Thomas Lumley
inefficient. I guess this FAQ-entry about fully intuitive behaviour of xyplot came last year, right? Well, the behaviour predates the R implementation and is described in help(xyplot). Obviously no-one except you thinks it it fully intuititve, or it wouldn't be in the FAQ. -thomas Thomas

[Rd] Re: [R] changing (core) function argument defaults?

2004-11-17 Thread Thomas Lumley
Restricted to r-devel (it is almost never appropriate to send the same message to both lists). On Thu, 18 Nov 2004, RenE J.V. Bertin wrote: gt;From: Patrick Connolly lt;[EMAIL PROTECTED]gt; gt;To: quot;RenE J.V. Bertinquot; lt;[EMAIL PROTECTED]gt; gt;Subject: Re: [R] changing (core) function

Re: [Rd] wishlist: better error message in R CMD check

2004-11-06 Thread Thomas Lumley
On Sat, 6 Nov 2004, Gabor Grothendieck wrote: I was running R CMD check on Windows XP 2.0.1beta and got this: Error in parse(file, n, text, prompt) : syntax error on 602 After a lot of aggravation I finally discovered that if I did this: copy *.R allofthem.R and checked line 602 in allofthem.R

Re: [Rd] foreign(read.spss) in rw2000 and re2001beta

2004-11-06 Thread Thomas Lumley
On Sat, 6 Nov 2004, Peter Dalgaard wrote: Kjetil Brinchmann Halvorsen [EMAIL PROTECTED] writes: I made a test file test.sav with SPSS version 11.5.1 containing only one numeric variable, with a value label for one value not occuring in the file. According to ?read.spss this should result in a

Re: [Rd] foreign(read.spss) in rw2000 and re2001beta

2004-11-06 Thread Thomas Lumley
On Sat, 6 Nov 2004, Peter Dalgaard wrote: Thomas Lumley [EMAIL PROTECTED] writes: I have modified read.spss (but not committed the changes yet) so that it does not create a factor when there are missing levels. Hmm, could we handle this more elegantly? At the very least, we should probably try

Re: [Rd] 2.0.1 countdown

2004-11-04 Thread Thomas Lumley
On Thu, 4 Nov 2004, Gabor Grothendieck wrote: How does one easily find out if one's favorite bugs have been fixed? Does the CHANGES file list them all or is there a more authoritative source? A bug that was fixed because it was reported should be listed with its PR# in the NEWS file. If a change

[Rd] R2.0.0 bug in function vcov in library survival (PR#7266)

2004-10-06 Thread Thomas Lumley
On Wed, 6 Oct 2004, Prof Brian Ripley wrote: Those vcov methods were removed from stats at 2004-08-28 20:40:13 +0100 survival now has vcov.{coxph,survreg} Looks like they have been removed from survival since: that is where they should be. They are very simple -- vcov.coxph - vcov.survreg -

[Rd] Re: R2.0.0 bug in function vcov in library survival (PR#7266)

2004-10-06 Thread Thomas Lumley
On Wed, 6 Oct 2004, Prof Brian Ripley wrote: On Wed, 6 Oct 2004, Thomas Lumley wrote: No, they haven't been updated to cope with lazy loading (they are defined in a top-level if statement to prevent conflicts in older versions of R). vcov.coxph is actually vcov.coxph-function (object

Re: [Rd] idea for virtual matrix/array class

2004-08-23 Thread Thomas Lumley
On Mon, 23 Aug 2004, Tony Plate wrote: One idea I was thinking about was to have a new class of object that referred to data in a file on disk, and which had all the standard methods of matrices and arrays, i.e., subsetting ([), dim, dimnames, etc. The object in memory would only store the

Re: [Rd] existence of easy example of .Call??

2004-07-30 Thread Thomas Lumley
On Fri, 30 Jul 2004 [EMAIL PROTECTED] wrote: Dear R-develers, I have been seraching in vain for an example of source-code, using .Call, to call an R-function from within C. Am also wondering i this .Call command works for all functions, say if I write a function analyse-function() within

Re: [Rd] aov for unbalanced design (PR#7144)

2004-07-29 Thread Thomas Lumley
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL

Re: [Rd] regarding saving R graphis images directly to directory

2004-06-20 Thread Thomas Lumley
On Sun, 20 Jun 2004, Dirk Eddelbuettel wrote: On Sun, Jun 20, 2004 at 01:18:47PM -0700, SAURIN wrote: Dear R, I am student at University of new haven, CT.I am trying to run my R scripts where I don't have X11() authentication to my account. I run those R scripts and when I generate

Re: [Rd] Copyright issues question

2004-06-14 Thread Thomas Lumley
On Mon, 14 Jun 2004, Peter Dalgaard wrote: Eric Lecoutre [EMAIL PROTECTED] writes: What sort of exact problems can we expect to have? Should we consider to propose this as Open Source and not GPL? Do we have to obtain the agreement of the R Core Team? It might also be worth pointing

Re: [Rd] plot functions, formula interfaces and NAs

2004-05-03 Thread Thomas Lumley
On Mon, 3 May 2004, Prof Brian Ripley wrote: I believe no function should be using getOption(na.action) without a means to override it, and thus the formula methods of boxplot, mosaicplot and pairs should get an na.action argument. Further, since in all cases the non-formula methods do

Re: [Rd] Generating Lognormal Random variables (PR#6843)

2004-05-01 Thread Thomas Lumley
On Sat, 1 May 2004 [EMAIL PROTECTED] wrote: On Sat, 1 May 2004 17:00:28 +0200 (CEST), [EMAIL PROTECTED] wrote: Full_Name: Anthony Gichangi Version: 1.90 OS: Windows XP Pro Submission from: (NULL) (130.225.131.206) The function rlnorm generates negative values for lognormal

Re: [Rd] shared mem advice

2004-04-13 Thread Thomas Lumley
* sizeof(VECREC)) ) == NULL) { { # Alex __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor

Re: [Rd] Incorrect handling of NA's in cor() (PR#6750)

2004-04-09 Thread Thomas Lumley
On Fri, 9 Apr 2004 [EMAIL PROTECTED] wrote: Dear Uwe, You are wrong. First, I've read the help file before submitting the report. For two variables, use=pairwise.complete.obs and use=complete.obs should be equivalent, shouldn't it? Of sourse, the results will be different when we have

Re: [Rd] change in behavior of -

2004-04-01 Thread Thomas Lumley
On Wed, 31 Mar 2004, Thomas Lumley wrote: On Tue, 30 Mar 2004, Vincent Carey 525-2265 wrote: There has been a change to the behavior of -. See the error thrown at the bottom of the transcript below. I don't believe this is an intended change. It's an unintended side-effect

Re: [Rd] change in behavior of -

2004-03-31 Thread Thomas Lumley
/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

[Rd] R-bugs is for BUGS (was Help Documentation (PR#6717))

2004-03-29 Thread Thomas Lumley
://www.stat.math.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r

Re: [Rd] R 1.9.0 alpha

2004-03-26 Thread Thomas Lumley
On Wed, 24 Mar 2004, Duncan Murdoch wrote: Can you try to put together a small example that illustrates it? One example that happened while trying to answer another R-help question R 1.8.1 library(nlme) example(nlme.nlsList) q(yes) R 1.9.0-beta on startup Error in namespaceExport(ns, exports)

Re: [Rd] cbind/rbind fail on matrixes containing lists (PR#6702)

2004-03-26 Thread Thomas Lumley
On Fri, 26 Mar 2004, Thomas Lumley wrote: Yep, bind.c:do_bind has switch(mode) { case NILSXP: case LGLSXP: case INTSXP: case REALSXP: case CPLXSXP: case STRSXP: break; default: errorcall(call, cannot create a matrix from these types

Re: [Rd] best methods for strings and structures?

2004-03-16 Thread Thomas Lumley
PROTECT(tempstr=allocVector(STRSXP,1)); SET_STRING_ELT(tempstr,0, mkChar( cfg_rec.coeffs_filename)); SET_VECTOR_ELT(ret_val,0, tempstr); UNPROTECT(1); /* tempstr */ (there may be more elegant versions of this). -thomas Thomas Lumley Assoc. Professor, Biostatistics

Re: [Rd] package 'stats' needs import directive for 1.9.0?

2004-02-27 Thread Thomas Lumley
On Fri, 27 Feb 2004, Swinton, Jonathan wrote: From: Prof Brian Ripley [EMAIL PROTECTED] Subject: Re: [Rd] package 'stats' needs import directive for 1.9.0? To: Heywood, Giles [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] ... I suggest you don't try: there are already quite a few

Re: [Rd] typo in help(names)? (PR#6594)

2004-02-17 Thread Thomas Lumley
On Tue, 17 Feb 2004 [EMAIL PROTECTED] wrote: ## assign just one name z - 1:3 names(z) # change just the name of the third element. names(z)[2] - b z Should the second comment read ... second element. rather than ... third element.? Yes. Or else [2] should

Re: [Rd] Spelling (PR#6570)

2004-02-11 Thread Thomas Lumley
On Wed, 11 Feb 2004 [EMAIL PROTECTED] wrote: I came across this in connection with an unrelated issue beta[2] Error in beta[2] : object is not subsettable beta[2] - 5 Error in [-(`*tmp*`, 2, value = 5) : object is not subsetable One of the messages must be wrong, but I need a native

Re: [Rd] Enhancement to termplot()

2004-01-24 Thread Thomas Lumley
On Sat, 24 Jan 2004, John Maindonald wrote: I'd like to make the following change to termplot(): Add panel=points as an extra parameter. (I foreshadowed this when I submitted problem #6327, and offered a fix that, in default of anything better, I assume will be made or has been made.) I

Re: [Rd] [g]sub behaviour with NA (PR#6451)

2004-01-22 Thread Thomas Lumley
On Thu, 22 Jan 2004 [EMAIL PROTECTED] wrote: We could extend sub() / gsub() to coerce its `x' to character, then this would work, or we should make it give an error because NA is logical, not a character. The first option would be inline with already allowing logical NA for `pattern' in

Re: [Rd] ChangeLog for R packages {was Wish list}

2004-01-20 Thread Thomas Lumley
On Tue, 20 Jan 2004, Martin Maechler wrote: Of course R CMD check would have the harder job of also have to work properly on non-Debian, non-Linux, even non-Unix systems.. For Windows, there's already the filename capitalization mess. Add a Changelog: entry to DESCRIPTION? -thomas

Re: [Rd] Wish list

2004-01-19 Thread Thomas Lumley
Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Another wishlist for R

2004-01-16 Thread Thomas Lumley
this issue at http://developer.r-project.org/nonstandard-eval.pdf -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https

Re: [Rd] R OS X panther? (PR#5529)

2003-12-04 Thread Thomas Lumley
On Fri, 5 Dec 2003 [EMAIL PROTECTED] wrote: I have just used the RAqua.pkg to install R, and it doesn't work! I have Mac OS X 10.3, and the old version of R works OK, but the .pkg thing installed, and then when I double-click on the StartR application nothing happens. Nothing at all, no

Re: [Rd] problem with pipes (PR#5053)

2003-11-13 Thread Thomas Lumley
On Wed, 12 Nov 2003 [EMAIL PROTECTED] wrote: 3. Usually I get the above but sometimes I get no output from readLines at all. This last problem may be the same as PR#1140 on the Mac, where popen() calls sometimes got killed by an interrupt. -thomas

Re: [Rd] RAqua package installation on Panther

2003-11-06 Thread Thomas Lumley
On Thu, 6 Nov 2003, Stefano Iacus wrote: Thanks to Thomas L. and other users to stop this and suggest fixes. Thomas is still claiming that it is also configure that fails on panther because of the same problem. My own experience is that * on a fresh Panther installation (i.e. removing

[Rd] Mac OS X/panther R INSTALL

2003-11-04 Thread Thomas Lumley
be interested to know -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] glm offset and interaction bugs (PR#4941)

2003-11-03 Thread Thomas Lumley
://www.stat.math.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

[Rd] fairly OT: profiling

2003-11-02 Thread Thomas Lumley
)). -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R1.8.0 and virtual PC (PR#4708)

2003-10-21 Thread Thomas Lumley
On Tue, 21 Oct 2003 [EMAIL PROTECTED] wrote: Dear Sir/Madam First, I should tell that I'm using virtual PC w2k in a mac osx 10.2. It would probably be easier (and faster) to use RAqua in OS X, rather than the windows version under virtual PC. -thomas

Re: [Rd] NA %*% 0 == 0 (PR#4582)

2003-10-14 Thread Thomas Lumley
On Tue, 14 Oct 2003 [EMAIL PROTECTED] wrote: Full_Name: J . R. M. Hosking Version: 1.8.0 OS: Windows 2000 Submission from: (NULL) (129.34.20.23) On R 1.8.0 (and on R 1.5.1), Windows binary: NA %*% 0 [,1] [1,]0 This is surprising. Is it a bug? Note that I think it's a

Re: [Rd] Could the Windows installer edit PATH?

2003-10-10 Thread Thomas Lumley
On Fri, 10 Oct 2003, Chris Jackson wrote: Prof Brian Ripley [EMAIL PROTECTED] wrote: Why do you need to edit PATH? I never have the rw10xx/bin directory in my Desktop PATH. I do set the PATH in a terminal window when working with R, but I do that via the shell startup options (.tcshrc

Re: [Rd] Are package maintainers responsible for name-mangling class names?

2003-10-02 Thread Thomas Lumley
other packages. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] How does subset replace arguments? (PR#4193)

2003-09-16 Thread Thomas Lumley
On Tue, 16 Sep 2003 [EMAIL PROTECTED] wrote: Full_Name: Axel Benz Version: 1.7.1 OS: Windows Submission from: (NULL) (137.251.33.43) Hello, I guess many people will answer me again that this is a S language feature, but I am only a stupid computer scientist and I simply do not understand

Re: [Rd] R-devel problem

2003-08-17 Thread Thomas Lumley
On Sat, 16 Aug 2003, Jan de Leeuw wrote: With the current version from rsync (8/16, 19:00) I get make[3]: *** No rule to make target `helpsearch.c', needed by `Makefile'. Stop. make[2]: *** [R] Error 1 make[1]: *** [R] Error 1 make: *** [R] Error 1 Yes. Some idiot forgot that you need to

Re: [Rd] (no subject)

2003-08-17 Thread Thomas Lumley
On Sun, 17 Aug 2003, Jan de Leeuw wrote: RAqua now builds fine, but for some reason tcl/tk support cannot be compiled in. I had a problem that looked like this, and it was due to having some old tcl8.0 headers and libraries in /usr/local/ -thomas

Re: [Rd] RAqua

2003-08-14 Thread Thomas Lumley
to start an X server. RAqua doesn't start an X server and I don't think it should. X display windows are still not resizable, which is a similar event-handling issue to the Tk one. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University

Re: [Rd] RAqua

2003-08-14 Thread Thomas Lumley
any effect. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] RAqua

2003-08-14 Thread Thomas Lumley
and I don't think is in the last precompiled binary that Stefano put up (and yes, I remember you were having compiling problems with RAqua). You would need to compile a more recent version from rsync to get the X11 support. -thomas Thomas Lumley Assoc. Professor

Re: [Rd] model.frame() call from inside a function (PR#3671)

2003-08-07 Thread Thomas Lumley
On 7 Aug 2003, Peter Dalgaard BSA wrote: [[ I did discover yesterday (or maybe I was just reminded...) that we even have nonstandard nonstandard evaluation rules in some places (nls() seems to evaluate its model formula in the global environment even if it is given explicitly within a

Re: [Rd] round to even digit (PR#3604)

2003-08-03 Thread Thomas Lumley
to an odd digit; see below. I think this may be a case where the number doesn't actually end in 5, it just appears to round(217.5) [1] 218 round(21.75*10) [1] 218 round(2.175*100) [1] 217 round(0.2175*1000) [1] 218 since .175 isn't exactly expressible in binary. -thomas Thomas Lumley

Re: [Rd] abs() and negative output from fractions() (PR#3536)

2003-07-22 Thread Thomas Lumley
)) [1] 2.00 0.40 1.00 1.33 Why is this a bug? -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https

Re: [Rd] calling R from C

2003-07-21 Thread Thomas Lumley
thread on r-devel with a bit more information: http://maths.newcastle.edu.au/~rking/R/devel/03b/0073.html -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL

Re: [Rd] update.default bugfix (PR#3288)

2003-06-19 Thread Thomas Lumley
On Wed, 18 Jun 2003 [EMAIL PROTECTED] wrote: According to the man page for formula, a formula object has an associated environment. However, update.default doesn't use this environment, which creates problems like the following: make.model - function(x) { lm(medv~.,x) } library(MASS)

Re: [Rd] Re: [R-SIG-Mac] R version on gifi

2003-06-16 Thread Thomas Lumley
On Mon, 16 Jun 2003, Don MacQueen wrote: Can you give specific and substantive reasons why fink should be avoided? I get the impression that R for OS X is being moved away from being another unix R variant (in the sense that Solaris, various Linuxes, SGI, etc. are unix variants), and moved

Re: [Rd] bug in glm()? (PR#3223)

2003-06-11 Thread Thomas Lumley
On Tue, 10 Jun 2003 [EMAIL PROTECTED] wrote: glm() seems to converge, even when it shouldn't. I am trying to fit a model where $converge=FALSE and I am fitting models that do not converge in SAS, but they seem to converge in R ... While it wouldn't be the first time there was a bug in glm,

Re: [Rd] standard errors from glm (PR#3180)

2003-06-04 Thread Thomas Lumley
On Wed, 4 Jun 2003 [EMAIL PROTECTED] wrote: The QR decomposition being returned by glm.fit uses the fitted values from parameter estimates at the (final-1)st iteration. But don't we want fitted values from parameter estimates at the final iteration? I tried inserting the following lines upon

Re: [Rd] CRAN scripts?

2003-03-04 Thread Thomas Lumley
On Tue, 4 Mar 2003, Dirk Eddelbuettel wrote: On Tue, Mar 04, 2003 at 11:39:51AM -0500, Ben Bolker wrote: do people think that I should bite the bullet and submit my packages to CRAN instead? Yes please. Though you might also want to look at Bioconductor's reposTools package, which is