Re: [Rd] sapply(Date, is.numeric)

2008-07-31 Thread Martin Maechler
(., as.numeric) and if that doesn't give errors just be happy ? Martin PBR On Wed, 30 Jul 2008, Martin Maechler wrote: BDR == Prof Brian Ripley [EMAIL PROTECTED] on Wed, 30 Jul 2008 13:29:38 +0100 (BST) writes: BDR On Wed, 30 Jul 2008, Martin Maechler wrote: RobMcG

[Rd] 4-int indexing limit of R {Re: [R] allocMatrix limits}

2008-08-01 Thread Martin Maechler
[[Topic diverted from R-help]] VK == Vadim Kutsyy [EMAIL PROTECTED] on Fri, 01 Aug 2008 07:35:01 -0700 writes: VK Martin Maechler wrote: VK The problem is in array.c, where allocMatrix check for VK if ((double)nrow * (double)ncol INT_MAX). But why VK itn

Re: [Rd] 4-int indexing limit of R {Re: [R] allocMatrix limits}

2008-08-01 Thread Martin Maechler
VK == Vadim Kutsyy [EMAIL PROTECTED] on Fri, 01 Aug 2008 10:22:43 -0700 writes: VK Martin Maechler wrote: [[Topic diverted from R-help]] Well, fortunately, reasonable compilers have indeed kept 'long' == 'long int' to mean 32-bit integers ((less reasonable

Re: [Rd] Suggestion: 20% speed up of which() with two-character mod

2008-08-05 Thread Martin Maechler
HenrikB == Henrik Bengtsson [EMAIL PROTECTED] on Mon, 4 Aug 2008 21:14:12 -0700 writes: HenrikB Hi, HenrikB I just want to do a follow up this very simple HenrikB fix/correction/speedup/cleanup of the base::which() function. Here is HenrikB a diff: HenrikB diff

Re: [Rd] Bug repository awakening

2008-08-07 Thread Martin Maechler
. [[ == Please, regular bug reporters, do subscribe to R-devel... ]] Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] matrix name

2008-08-09 Thread Martin Maechler
Vincent Nijs [EMAIL PROTECTED] on Sat, 09 Aug 2008 18:34:09 +0200 writes: Hello, Presently, we are able to add additionnal info to a matrix thanks to the nice comment() and attr() functions. Maybe I miss some other functions ? Since there is a always a little

Re: [Rd] Outdated dependencies and install.packages()

2008-08-21 Thread Martin Maechler
PD == Peter Dalgaard [EMAIL PROTECTED] on Wed, 20 Aug 2008 17:06:36 +0200 writes: PD Prof Brian Ripley wrote: On Wed, 20 Aug 2008, Peter Dalgaard wrote: This looks like a buglet: install.packages(lme4, depend=TRUE, lib=~/Rlibrary/) --- Please select a

Re: [Rd] names of return value of median

2008-08-21 Thread Martin Maechler
VO == Vadim Organovich [EMAIL PROTECTED] on Wed, 20 Aug 2008 12:30:38 -0500 writes: VO Dear R-devel, VO The median() function assigns a name, NA, to its return value if the return value is NA and the input vector has names, otherwise the names attribute is NULL. This looks strange

Re: [Rd] Outdated dependencies and install.packages()

2008-08-21 Thread Martin Maechler
MM == Martin Maechler [EMAIL PROTECTED] on Thu, 21 Aug 2008 09:39:13 +0200 writes: [...] MM Note that --- thanks to Kate Mullen's nice help.request() proposal --- oops!! s/Kate Mullen/Heather Turner/ both very fine ladies, both in the program committee of useR!2008

[Rd] order(x,y, decreasing = c(FALSE, TRUE)) - how / elegantly?

2008-08-21 Thread Martin Maechler
## -- ## Arguments: x,y: vectors of the same length ## -- ## Author: Martin Maechler, Date: 21 Aug 2008 ix - order(x) xx - x[ix] iy - tapply(y[ix], xx, order, decreasing = TRUE

Re: [Rd] non user-friendly error for chol2inv functions

2008-08-29 Thread Martin Maechler
It is very helpful, but you have to read and understand it. I'm pretty sure you did not provide a 1 x 1 matrix. Here's an example showing how things works : m - matrix(4,1,1) cm - chol(m) cm [,1] [1,]2 chol2inv(cm) [,1] [1,] 0.25 Martin Maechler, ETH Zurich cd

Re: [Rd] non user-friendly error for chol2inv functions

2008-08-29 Thread Martin Maechler
De rien! Martin cd 2008/8/29 Martin Maechler [EMAIL PROTECTED] cd == christophe dutang [EMAIL PROTECTED] on Fri, 29 Aug 2008 12:44:18 +0200 writes: cd Hi, cd In function chol2inv with the option LINPACK set to false (default), it cd raises an error when

Re: [Rd] non user-friendly error for chol2inv functions

2008-08-29 Thread Martin Maechler
TH == Ted Harding [EMAIL PROTECTED] on Fri, 29 Aug 2008 14:21:05 +0100 (BST) writes: TH On 29-Aug-08 13:00:01, Martin Maechler wrote: cd == christophe dutang [EMAIL PROTECTED] on Fri, 29 Aug 2008 14:28:42 +0200 writes: cd Yes, I do not cast the first argument

Re: [Rd] PDFs on R-devel ...

2008-09-04 Thread Martin Maechler
/ trojan / ... would also come in. You may need a smarter e-mail client (than Microsoft's) which uses the correct type, or one where you can specify the MIME type of an attachment explictly. Martin Maechler, ETH Zurich, Maintainer of the @r-project.org mailing lists

Re: [Rd] .. var() fails on NA in R 2.7.2 but not R 2.6.1

2008-09-13 Thread Martin Maechler
' or no complete element pairs } This will entail that i. {empty vector == {vector of all NAs (= empty after na.omit)} ii. var(empty) |- NA by default. Feedback is very welcome! Martin Maechler, ETH Zurich and R core team. __ R-devel@r

[Rd] WRONG mailing list - Re: question in value-based color in image()

2008-09-16 Thread Martin Maechler
Please do use R-help, (not R-devel) for such questions. M == M [EMAIL PROTECTED] on Mon, 15 Sep 2008 22:42:22 -0400 writes: M Hello, I have a matrix with value varying from -1 to 1. M I hope to use scaled color based on its value to produce M an image of this matrix. M

[Rd] seg.fault from nlme::gnls() {was [R-sig-ME] GNLS Crash}

2008-09-27 Thread Martin Maechler
VW == Viechtbauer Wolfgang (STAT) [EMAIL PROTECTED] on Fri, 26 Sep 2008 18:00:19 +0200 writes: VW Hi all, I'm trying to fit a marginal (longitudinal) VW model with an exponential serial correlation function to VW the Orange tree data set. However, R crashes frequently VW

Re: [Rd] Error in R-Intro document (PR#13079)

2008-09-27 Thread Martin Maechler
of the above, since from counts, one intuitively gets a notion of *precision* (most people have a crude approximation of the Poisson built in their brains :-) which is completely lost when switching to percents. Martin Maechler, ETH Zurich __ R-devel@r

[Rd] On modes, types and R documentation

2008-09-27 Thread Martin Maechler
BaRow == Barry Rowlingson [EMAIL PROTECTED] on Fri, 26 Sep 2008 07:50:33 +0100 writes: BaRow 2008/9/25 Kingsford Jones [EMAIL PROTECTED]: Try ?type which correctly guesses the user is looking for the 'typeof' page. Or even

Re: [Rd] Outdated dependencies and install.packages()

2008-09-27 Thread Martin Maechler
PD == Peter Dalgaard [EMAIL PROTECTED] on Thu, 21 Aug 2008 10:53:58 +0200 writes: PD Martin Maechler wrote: PD == Peter Dalgaard [EMAIL PROTECTED] on Wed, 20 Aug 2008 17:06:36 +0200 writes: PD Prof Brian Ripley wrote: On Wed, 20 Aug 2008, Peter Dalgaard

[Rd] Planned mailing list timeout of several hours

2008-09-30 Thread Martin Maechler
as normal. The mails should be kept in a secondary/substitute mail server and be forwarded to ours as soon as that gets up again. But you will notice that your message is not posted to the lists for several hours. We are sorry for the inconvenience to the R community. Martin Maechler, ETH Zurich

Re: [Rd] Minor feature request: Let 'R CMD co*nfig' tell me where the INCLDIR is

2008-10-17 Thread Martin Maechler
DE == Dirk Eddelbuettel [EMAIL PROTECTED] on Thu, 16 Oct 2008 20:45:40 -0500 writes: DE On Debian / Ubuntu / ... we have [1] DE [EMAIL PROTECTED]:~ R CMD config --cppflags DE -I/usr/share/R/include DE [EMAIL PROTECTED]:~ Actually, on Ubuntu 8.04 (64-bit) I get

Re: [Rd] as.list() for function:s

2008-10-17 Thread Martin Maechler
HenrikB == Henrik Bengtsson [EMAIL PROTECTED] on Thu, 16 Oct 2008 12:51:40 -0700 writes: HenrikB Hi, a quick comment. I just notice that as.list() deals with HenrikB function:s the old way inside the default function, cf. as.list.default HenrikB function (x, ...)

Re: [Rd] conditionally import a namespace?

2008-10-30 Thread Martin Maechler
FA == Felix Andrews [EMAIL PROTECTED] on Thu, 30 Oct 2008 17:40:17 +1100 writes: FA Dear R-devel, FA I have a problem defining the dependencies for a package. FA My package (latticist, not yet released) Suggests RGtk2, but FA specifically does not require it. If RGtk2 is

Re: [Rd] Package install problem on Windows (PR#13284)

2008-11-14 Thread Martin Maechler
## beforeLib: (grep-pattern of an) entry in current .libPaths() ## msgTxt: optional message text about the insertion ## ## Author: Martin Maechler, 2006 if(file.exists(nlib

Re: [Rd] stringsAsFactors = FALSE

2008-11-17 Thread Martin Maechler
asking for it. In the extreme case, we are ending up with a language that depends on a whole huge status setting, and what a given function computes can no longer be predicted by looking at the function calls, unless you simultaneously know that whole status. Please, No !! Martin Maechler, ETH Zurich

Re: [Rd] assign(FALSE, TRUE)

2008-11-17 Thread Martin Maechler
RT == Rolf Turner [EMAIL PROTECTED] on Tue, 18 Nov 2008 08:49:21 +1300 writes: RT It was recently pointed out by Wacek Kusnierczyk that RT although one is prevented from doing RT FALSE - TRUE RT one *can* do RT assign(FALSE,TRUE) RT and have an

Re: [Rd] assign(FALSE, TRUE)

2008-11-18 Thread Martin Maechler
PD == Peter Dalgaard [EMAIL PROTECTED] on Tue, 18 Nov 2008 00:00:40 +0100 writes: PD Martin Maechler wrote: But in spite of all that I agree that I'd have liked `FALSE` - whatever to signal an error about the fact that it is a reserved word. RT This is clearly

Re: [Rd] assign(FALSE, TRUE)

2008-11-19 Thread Martin Maechler
PD == Peter Dalgaard [EMAIL PROTECTED] on Tue, 18 Nov 2008 15:07:04 +0100 writes: PD Martin Maechler wrote: PD == Peter Dalgaard [EMAIL PROTECTED] on Tue, 18 Nov 2008 00:00:40 +0100 writes: PD Martin Maechler wrote: But in spite of all that I agree that I'd

Re: [Rd] trivial spelling correction

2008-12-03 Thread Martin Maechler
SO == Sean O'Riordain [EMAIL PROTECTED] on Mon, 1 Dec 2008 19:32:13 + writes: SO Good evening, SO Spotted a very minor spelling mistake in the source for the grep help. SO And thanks to R-Core for all their work - it's a tribute to R-Core, SO that these sort of problems

Re: [Rd] Recent snapshot tarballs of R-devel don't compile

2008-12-04 Thread Martin Maechler
[oops .. I wanted to send this off one day earlier ...] BDR == Prof Brian Ripley [EMAIL PROTECTED] on Thu, 4 Dec 2008 08:30:04 + (GMT) writes: BDR On Wed, 3 Dec 2008, [EMAIL PROTECTED] wrote: Hi, Trying to compile one of the latest snapshot tarballs of R-devel

Re: [Rd] Recent snapshot tarballs of R-devel don't compile

2008-12-05 Thread Martin Maechler
HP == Hervé Pagès [EMAIL PROTECTED] on Fri, 05 Dec 2008 10:20:55 -0800 writes: HP Hi Martin, Martin Maechler wrote: [...] BDR Maybe, in which case running tools/link-recommended BDR will fix it. Works for me with the snapshot mentioned BDR above. Yes

Re: [Rd] package development

2008-12-12 Thread Martin Maechler
for it.. Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] typo in R Installation and Administration

2008-12-22 Thread Martin Maechler
YC == Yohan Chalabi chal...@phys.ethz.ch on Thu, 18 Dec 2008 18:16:33 +0100 writes: YC Hi all, There seems to be a typo in R Installation and YC Administration in B.7 Compile and load flags YC special flags for compiling Fortran 95 code to be YC turned into a shared library

Re: [Rd] x - 1:2; dim(x) - 2? A vector or not?

2009-01-16 Thread Martin Maechler
is confusing here but if it did [1:10] you would not know it was an array. I recall discussing this with Martin Maechler (str's author) last century, and I've just checked that R 2.0.0 did the same. The place in which one-dimensional arrays differ from normal

Re: [Rd] x - 1:2; dim(x) - 2? A vector or not?

2009-01-17 Thread Martin Maechler
TP == Tony Plate tpl...@acm.org on Fri, 16 Jan 2009 13:10:04 -0700 writes: TP Martin Maechler wrote: PatB == Patrick Burns pbu...@pburns.seanet.com on Tue, 13 Jan 2009 17:00:40 + writes: PatB Henrik Bengtsson wrote: Hi. On Mon, Jan 12

Re: [Rd] str(1d-array)

2009-01-23 Thread Martin Maechler
TP == Tony Plate tpl...@acm.org on Thu, 22 Jan 2009 11:01:21 -0700 writes: TP Martin Maechler wrote: TP == Tony Plate tpl...@acm.org on Fri, 16 Jan 2009 13:10:04 -0700 writes: TP Martin Maechler wrote: PatB == Patrick Burns pbu...@pburns.seanet.com

Re: [Rd] str(1d-array)

2009-01-26 Thread Martin Maechler
MS == Marc Schwartz marc_schwa...@comcast.net on Fri, 23 Jan 2009 08:41:38 -0600 writes: MS on 01/23/2009 07:36 AM Martin Maechler wrote: TP == Tony Plate tpl...@acm.org on Thu, 22 Jan 2009 11:01:21 -0700 writes: TP Martin Maechler wrote: TP == Tony Plate tpl

Re: [Rd] best reference on generics

2009-02-09 Thread Martin Maechler
provided in the 'methods' package. [so for a forthcoming book and package, it's pity that S4 had not been used... Yes, now I go hide before the flames roar at me ! ] Martin Maechler, ETH Zurich SpG I want to add an appropriate citation on this to SpG a forthcoming book

Re: [Rd] proposed simulate.glm method

2009-02-13 Thread Martin Maechler
-project.org/R/trunk/src/library/stats/man/simulate.Rd and will be happy to receive a patch against this file. Thank you again, and best regards, Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [Rd] proposed simulate.glm method

2009-02-13 Thread Martin Maechler
considering is to use simulate.lm() to also deal with glm (and possibly gnm) objects ``in one place''. Martin HT Martin Maechler wrote: BB == Ben Bolker bol...@ufl.edu on Thu, 12 Feb 2009 11:29:14 -0500 writes: BB I have found the simulate method (incorporated BB in some

Re: [Rd] proposed simulate.glm method

2009-02-13 Thread Martin Maechler
Thank you, Heather and Ben, HT == Heather Turner heather.tur...@warwick.ac.uk on Fri, 13 Feb 2009 15:52:37 + writes: HT Yes, thanks to Ben for getting the ball rolling. His HT code was more streamlined than mine, pointing to further HT simplifications which I've included in

Re: [Rd] [PATCH] typo in R-lang

2009-02-14 Thread Martin Maechler
Thank you, Peter; I just have committed the fix for the typo. (The inline patch was perfectly sufficient) Martin Maechler, ETH Zurich PC == Peter Cowan cowan...@gmail.com on Fri, 13 Feb 2009 20:02:28 -0800 writes: PC Here is a patch for a small typo in the description of do.call

Re: [Rd] proposed simulate.glm method

2009-02-14 Thread Martin Maechler
Maechler maech...@stat.math.ethz.ch Subject: Re: [Rd] proposed simulate.glm method To: Heather Turner heather.tur...@warwick.ac.uk Cc: r-devel@r-project.org, Martin Maechler maech...@stat.math.ethz.ch Message-ID: 18837.55245.15158.29...@cmath-5.math.ethz.ch Content-Type

Re: [Rd] operators as S4 methods

2005-06-14 Thread Martin Maechler
) Martin Maechler, ETH Zurich Iago == Iago Mosqueira [EMAIL PROTECTED] on Tue, 14 Jun 2005 09:23:40 +0200 writes: Iago Dear all, Iago I need to re-define some mathematical operators (+, *, /, etc) for an S4 Iago class based on array. All references I have found (S Programming

Re: [Rd] Open device - glibc 2.3.4 bug for Redhat Enterprise 4?

2005-06-21 Thread Martin Maechler
give the correct error message instead of the seg.fault. TL On Tue, 21 Jun 2005, Martin Maechler wrote: We have been using Redhat Enterprise 4, on some of our Linux clients for a while, and Christoph has just found that opening an R device for a file without write

Re: [Rd] (PR#7976) split() dropping levels (was boxplot by factor)

2005-07-04 Thread Martin Maechler
[ Hmm, is everyone of those interested in changes inside R sleeping , uninterested, ... ] MM == Martin Maechler [EMAIL PROTECTED] on Fri, 1 Jul 2005 18:36:54 +0200 writes: PD == Peter Dalgaard [EMAIL PROTECTED] on 28 Jun 2005 14:57:42 +0200 writes: PD Liaw, Andy [EMAIL

[Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Martin Maechler
Gabor == Gabor Grothendieck [EMAIL PROTECTED] on Wed, 6 Jul 2005 08:24:49 -0400 writes: ... ... Gabor I have cleaned up my batch files (somewhat) and posted them to Gabor CRAN. See my recent post: Gabor

Re: [Rd] qgamma with first argument 1

2005-07-11 Thread Martin Maechler
Thank you, Mr Hosking, yes, this is a buglet. I had started to fix this (and similar cases) -- using a C Macro based approach in src/nmath/dpq.h -- For this reason, the fix will probably only appear in R-devel i.e., from R-2.2.0 on, and not yet in [R 2.1.1]-patched. Regards, Martin Maechler

Re: [Rd] R v2.1.0 patched (2005-05-09) for Windows?

2005-07-15 Thread Martin Maechler
HenrikB == Henrik Bengtsson [EMAIL PROTECTED] on Fri, 15 Jul 2005 10:01:05 +0200 writes: HenrikB I'm trying to troubleshoot a case where R crashes on Windows. It does HenrikB not occur at all with my R v2.1.0 patched (2005-05-09), but happens on R HenrikB v2.1.1 (patched or

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-15 Thread Martin Maechler
...) Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] help.search of precedence is empty

2005-07-15 Thread Martin Maechler
PatBurns == Patrick Burns [EMAIL PROTECTED] on Fri, 15 Jul 2005 14:58:14 +0100 writes: PatBurns Doing PatBurns help.search('precedence') PatBurns comes up empty. A fix would be to have the title: PatBurns Operator Syntax and Precedence PatBurns instead of

Re: [Rd] problem using model.frame()

2005-08-17 Thread Martin Maechler
GS == Gavin Simpson [EMAIL PROTECTED] on Tue, 16 Aug 2005 18:44:23 +0100 writes: GS On Tue, 2005-08-16 at 12:35 -0400, Gabor Grothendieck GS wrote: On 8/16/05, Gavin Simpson [EMAIL PROTECTED] wrote: On Tue, 2005-08-16 at 11:25 -0400, Gabor Grothendieck wrote: It

[Rd] do.call(): no need for quote {was .. Questions about calls..}

2005-08-23 Thread Martin Maechler
Gabor == Gabor Grothendieck [EMAIL PROTECTED] on Mon, 22 Aug 2005 18:55:38 -0400 writes: .. Gabor Try do.call like this: Gabor ff - x ~ g*h Gabor do.call(substitute, list(ff, list(x = as.name(weight Just a small remark: For all those who -- like me --

Re: [Rd] weigths in boxplot

2005-08-23 Thread Martin Maechler
of (or even see C or R implementations of) fast algorithms for weight quantiles. Code contributions are welcome too.. (And yes, I do know that boxplots are base on hinges rather than quartiles but that's less interesting here.) Martin Maechler [EMAIL PROTECTED] http://stat.ethz.ch/~maechler

Re: [Rd] RFC: loop connections

2005-08-27 Thread Martin Maechler
David == David Hinds [EMAIL PROTECTED] on Mon, 22 Aug 2005 23:34:15 + (UTC) writes: David I've just implemented a generalization of R's text connections, to David also support reading/writing raw binary data. There is very little David new code to speak of. For input

Re: [Rd] generic function argument list problem

2005-08-31 Thread Martin Maechler
Robin == Robin Hankin [EMAIL PROTECTED] on Wed, 31 Aug 2005 08:09:15 +0100 writes: Robin I am writing a rep() method for objects with class octonion, and Robin my function rep.octonion() has argument list (x, times, length.out, Robin each, ...)

Re: [Rd] Why should package.skeleton() fail R CMD check?

2005-08-31 Thread Martin Maechler
to contribute! Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Why should package.skeleton() fail R CMD check?

2005-08-31 Thread Martin Maechler
One thing I forgot to add: Did you try to include - data frames - other data - S3 generics and methods - S4 generics and methods in the objects you gave to package.skeleton() ? If we want to change the prompt*() functions such that package.skeleton() produces a package that

Re: [Rd] 64 bit R for Windows

2005-09-02 Thread Martin Maechler
multiple ones are needed, or at least part of the current implementations of many basic algorithms / functions. In other words, if you got a 32 GB RAM, you could probably start to work with objects of the size of (a little less than) 4GB relatively comfortably. Martin Maechler PD On Linux 64

Re: [Rd] R CMD BATCH on scripts without trailing newline

2005-09-03 Thread Martin Maechler
MM == Martin Maechler [EMAIL PROTECTED] on Thu, 1 Sep 2005 13:39:52 +0200 writes: StEgl == Stephen Eglen [EMAIL PROTECTED] on Thu, 1 Sep 2005 12:09:15 +0100 writes: StEgl If the last line of an R script does not have a StEgl trailing newline, a small errror is produced

Re: [Rd] system on windows vs. unix

2005-09-07 Thread Martin Maechler
Gabor == Gabor Grothendieck [EMAIL PROTECTED] on Wed, 7 Sep 2005 00:08:05 -0400 writes: Gabor The R system command has different arguments on Windows and UNIX. Gabor I hadn't realized that and I think it would be nice if the input= Gabor argument available Gabor on Windows

[Rd] plot(lm): new behavior in R-2.2.0 alpha

2005-09-13 Thread Martin Maechler
'' {== with a bit of numerical fuzz} plot a) R_i vs i or b) CD_i vs i or should users have to manually use plot(lm, which=1:4, ...) in such a case? Feedback very welcome, particularly, you first look at the examples in help(plot.lm) in *R-devel* aka R-2.2.0 alpha. Martin Maechler, ETH

Re: [Rd] plot(lm): new behavior in R-2.2.0 alpha

2005-09-14 Thread Martin Maechler
JohnF -Original Message- From: Martin Maechler [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 9:18 AM To: R-devel@stat.math.ethz.ch Cc: John Maindonald; Werner Stahel; John Fox Subject: plot(lm): new behavior

Re: [Rd] automatically adding smooth to plot: options(plot.add.smooth)

2005-09-19 Thread Martin Maechler
PaulG == Paul Gilbert [EMAIL PROTECTED] on Mon, 19 Sep 2005 10:01:57 -0400 writes: PaulG Martin Maechler wrote: I've changed the subject in the hope some more people would voice an opinion... PaulG ... Now I even propose to have options(add.smooth = TRUE

Re: [Rd] simulate in stats

2005-09-29 Thread Martin Maechler
the ignorable arguments as you mention. (I would also prefer that the object argument was called model but this is less important.) I'd personally agree with that; the argument was that 'object' is very generally used in such situations. Martin Maechler

Re: [Rd] Question about colnames behavior

2005-10-03 Thread Martin Maechler
Erich == Erich Neuwirth [EMAIL PROTECTED] on Sun, 02 Oct 2005 09:39:36 +0200 writes: Erich The following code Erich zzz-1:10 Erich dim(zzz)-10 Erich rownames(zzz) Erich colnames(zzz) Erich yields NULL for the rownames and colnames calls. Erich Let us set

Re: [Rd] Question about colnames behavior

2005-10-03 Thread Martin Maechler
BDR == Prof Brian Ripley [EMAIL PROTECTED] on Mon, 3 Oct 2005 09:44:47 +0100 (BST) writes: BDR On Mon, 3 Oct 2005, Martin Maechler wrote: Erich == Erich Neuwirth [EMAIL PROTECTED] on Sun, 02 Oct 2005 09:39:36 +0200 writes: Erich The following code Erich zzz-1:10

Re: [Rd] vector labels are not permuted properly in a call to sort() (R 2.1)

2005-10-05 Thread Martin Maechler
AndyL == Liaw, Andy [EMAIL PROTECTED] on Tue, 4 Oct 2005 13:51:11 -0400 writes: AndyL The `problem' is that sort() does not doing anything special when given AndyL a matrix: it only treat it as a vector. After sorting, it copies AndyL attributes of the original input to the

Re: [Rd] is.na- problem

2005-10-20 Thread Martin Maechler
Marc == Marc Schwartz [EMAIL PROTECTED] on Wed, 19 Oct 2005 20:28:05 -0500 writes: . In reviewing the Green Book on the top of page 143, it shows an example in which the RHS of the assignment are the indices into the LHS object which are to be set to NA. For

Re: [Rd] Brainstorm: Alpha and Beta testing of R versions

2005-11-07 Thread Martin Maechler
PROTECTED] on Sun, 6 Nov 2005 11:01:30 +1100 writes: Andrew Hi Martin, On Fri, Nov 04, 2005 at 09:58:47AM +0100, Andrew Martin Maechler wrote: [Mainly for R-foundation members; but kept in public for general brainstorming...] Andrew I'll take up the invitation to brainstorm

Re: [Rd] Dead link in documentation for dbinom

2005-11-15 Thread Martin Maechler
Thank you, Ivan, for the documentation update; Yes, such small fixes/patches are welcome as well. Martin __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Package manpage DCF hooks

2005-11-15 Thread Martin Maechler
Paul == Paul Roebuck [EMAIL PROTECTED] on Mon, 14 Nov 2005 15:57:04 -0600 (CST) writes: Paul On Mon, 14 Nov 2005, Gabor Grothendieck wrote: On 11/14/05, Paul Roebuck [EMAIL PROTECTED] wrote: Was looking at what was output for pkgname-package.Rd and wondered if any

Re: [Rd] Package manpage DCF hooks

2005-11-16 Thread Martin Maechler
Paul == Paul Roebuck [EMAIL PROTECTED] on Tue, 15 Nov 2005 13:07:47 -0600 (CST) writes: Paul On Tue, 15 Nov 2005, Martin Maechler wrote: Paul == Paul Roebuck [EMAIL PROTECTED] on Mon, 14 Nov 2005 15:57:04 -0600 (CST) writes: Paul On Mon, 14 Nov 2005, Gabor

Re: [Rd] make check fails for R 2.3.0 (PR#8343)

2005-11-22 Thread Martin Maechler
set.seed(1) hist(replicate(100, mean(rexp(10 traceback() ##^ gives on your R-devel installation. That's why Brian Ripley helped you by mentioning 'set.seed(1)'. Regards, Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https

[Rd] all.equal() for mismatching names {was Enlightenment sought...}

2005-12-02 Thread Martin Maechler
package checkings to fail because of a change. If some would start failing, a fix should be quiet simple for the package author and would help find inconsistencies in their own code IMO. Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https

[Rd] t() dropping NULL dimnames {was all.equal() for mismatching names...}

2005-12-02 Thread Martin Maechler
MM == Martin Maechler [EMAIL PROTECTED] on Fri, 2 Dec 2005 14:44:22 +0100 writes: BeT == Berwin A Turlach [EMAIL PROTECTED] on Fri, 2 Dec 2005 18:31:13 +0800 writes: BeT First, I recently had reasons to read the help page of as.vector() and BeT noticed in the example section

[Rd] correct address for R-bugs ..

2005-12-13 Thread Martin Maechler
you tell where you took this address from? We'd very much like that R bug reports be sent to [EMAIL PROTECTED] (from where they are forwarded to the repository in Denmark, *after* having been virus- and spam-filtered). Martin Maechler, ETH ZUrich

Re: [Rd] SVN-REVSION altered when building R-devel out of tree from last snapshot

2005-12-20 Thread Martin Maechler
Herve == Herve Pages [EMAIL PROTECTED] on Mon, 19 Dec 2005 17:10:58 -0800 writes: Herve Hi, Herve Today I downloaded and compiled the last R-devel snapshot. Herve The SVN-REVISION in the tarball contains the following: Herve Revision: 36792 Herve Last Changed Date:

[Rd] pmin(), pmax() - slower than necessary for common cases

2005-12-20 Thread Martin Maechler
(s) == 1 ## Author: Martin Maechler, Date: 21 Aug 1992 (for S) vector[ scalar vector ] - scalar vector } ## 2 things: ## 1) the above also works when 'scalar' == vector of same length ## 2) The following is even (quite a bit!) faster : pmin. - function(k,x) (x+k - abs(x-k))/2 pmax

[Rd] R-bugs e-mail {was ... (Debian Bug 344248): ...}

2005-12-21 Thread Martin Maechler
PLEASE, PLEASE: do use [EMAIL PROTECTED] and nothing else (It will go to Kopenhagen alright currently, but if we could ensure everyone used the above address, it would become quite a bit easier to prevent most spam to get into the R bug repository) Martin

Re: [Rd] 'sessionInfo()' instead of 'version'

2005-12-29 Thread Martin Maechler
roger == roger koenker [EMAIL PROTECTED] on Thu, 29 Dec 2005 14:07:19 -0600 writes: roger In a private response to Tony Plate's suggestion to roger replace version() output with sessionInfo() in R-help roger requests, roger koenker wrote: Thanks for this, it would

Re: [Rd] prod(numeric(0)) surprise

2006-01-08 Thread Martin Maechler
Ben == Ben Bolker [EMAIL PROTECTED] on Sun, 08 Jan 2006 21:40:05 -0500 writes: Ben Duncan Murdoch wrote: On 1/8/2006 9:24 PM, Ben Bolker wrote: It surprised me that prod(numeric(0)) is 1. I guess if you say (operation(nothing) == identity element) this makes

Re: [Rd] [R] ouml in an .Rd

2006-01-10 Thread Martin Maechler
PaulG == Paul Gilbert [EMAIL PROTECTED] on Mon, 09 Jan 2006 15:27:12 -0500 writes: PaulG (moved from r-help) Ok, UTF-8 works on some of my PaulG machines and latin1 on others. If I use one I get PaulG failure or spurious characters when I build on the PaulG wrong machine.

Re: [Rd] eigen()

2006-01-10 Thread Martin Maechler
BDR == Prof Brian Ripley [EMAIL PROTECTED] on Tue, 10 Jan 2006 15:01:00 + (GMT) writes: BDR I haven't seen most of this thread, but this is a classic case of passing BDR integers instead of doubles. And indeed BDR else if(is.numeric(x)) { BDR storage.mode(x) - double

Re: [Rd] symbols function -- possible enhancements

2006-01-18 Thread Martin Maechler
/trunk/src/library/graphics/R/symbols.R and https://svn.r-project.org/R/trunk/src/library/graphics/man/symbols.Rd I'll gladly look at them and incorporate them for R 2.3.0 (unless they break something) Best regards, Martin Maechler BDR == Prof Brian Ripley [EMAIL PROTECTED] on Tue, 17 Jan 2006

Re: [Rd] proposed pbirthday fix

2006-01-23 Thread Martin Maechler
MM == Martin Maechler [EMAIL PROTECTED] on Mon, 23 Jan 2006 11:52:55 +0100 writes: ken == ken knoblauch [EMAIL PROTECTED] on Mon, 23 Jan 2006 09:43:28 +0100 writes: ken Actually, since NaN's are also detected in na.action ken operations, a simpler fix might just be to use

Re: [Rd] What about a bib file

2006-01-31 Thread Martin Maechler
/fanny.Rd, I have \seealso{ \code{\link{agnes}} for background and references; } and then no \references{.} in the fanny.Rd file; but this workaround is not very satisfactory, and I am looking forward to your proposals. Martin Maechler, ETH Zurich Vince This does not rule

[Rd] SaveImage, LazyLoad, S4 and all that {was install.R ... files}

2006-02-03 Thread Martin Maechler
Seth == Seth Falcon [EMAIL PROTECTED] on Thu, 02 Feb 2006 11:32:42 -0800 writes: Seth Thanks for the explaination of LazyLoad, that's very helpful. Seth On 1 Feb 2006, [EMAIL PROTECTED] wrote: There is no intention to withdraw SaveImage: yes. Rather, if lazy-loading is

Re: [Rd] match gets confused by S4 objects

2006-02-07 Thread Martin Maechler
is that those in R-core that want to and are able to do this didn't have the time for that till now. Martin Maechler, ETH Zurich BDR On Mon, 6 Feb 2006, Seth Falcon wrote: If one accidentally calls match(x, obj), where obj is any S4 instance, the result is NA. I was expecting

Re: [Rd] match gets confused by S4 objects

2006-02-07 Thread Martin Maechler
Seth == Seth Falcon [EMAIL PROTECTED] on Tue, 07 Feb 2006 07:20:17 -0800 writes: Seth On 7 Feb 2006, [EMAIL PROTECTED] wrote: The solution has been agreed to be changing the internal representation of S4 objects making them a new SEXP (basic R type); and as Brian alludes

Re: [Rd] invalid graphics state using dev.print (fwd)

2006-02-10 Thread Martin Maechler
Paul == Paul Roebuck [EMAIL PROTECTED] on Wed, 8 Feb 2006 15:33:11 -0600 (CST) writes: Paul On Mon, 6 Feb 2006 18:12, Simon Urbanek wrote: On Feb 6, 2006, at 5:24 PM, Paul Roebuck wrote: Tried on R-Sig-Mac with no responses, but I need some kind of answer.

Re: [Rd] stopifnot() suggestion

2006-03-01 Thread Martin Maechler
BDR == Prof Brian Ripley [EMAIL PROTECTED] on Thu, 2 Mar 2006 06:45:39 + (GMT) writes: BDR stopifnot() is not intended for use by end-users, but for tests in BDR packages. and additionally for function writers aka 'programmeRs'. I think we have argued that R has

Re: [Rd] Wishlist - Give R a name that shows up in search engines...

2006-03-07 Thread Martin Maechler
the censorship differs from place to place .. and it seems one has no way to circumvent Big-Brother Google's decisions anymore. Sorry, but I couldn't refrain; I had been very disappointed by these news. Martin Maechler Duncan For every other popular program or programming language

Re: [Rd] validObject does not check validity of slots

2006-03-07 Thread Martin Maechler
straightforward to have an argument complete= JMC that defaults to FALSE; if so, I'll add it to r-devel. I agree with the other Martin that this would be nice to have. Also for debugging purposes, or as watch point when developing new functionality. Martin Maechler, ETH Zurich Martin

Re: [Rd] Undocumented argument na.last in factor()

2006-03-14 Thread Martin Maechler
. I checked also in source man page in Gregor R-devel. I wondered too -- for a few moments only -- after reading your message... *BUT* na.last is *not* an argument to factor()! Look more carefully at str(factor) or args(factor) (or the help page) ! Regards, Martin Maechler

Re: [Rd] Help please: please test timestamping of command history

2006-03-26 Thread Martin Maechler
[from a semi-private diversion of the R-devel thread ] Duncan == Duncan Murdoch [EMAIL PROTECTED] on Sat, 25 Mar 2006 12:28:30 -0500 writes: Duncan On 3/25/2006 11:30 AM, Martin Maechler wrote: Hi Duncan, I think all ESS users don't use history() because ESS calls

Re: [Rd] R 2.3.0 (alpha) on FreeBSD 6.1 fails make check-all

2006-03-28 Thread Martin Maechler
Andrew == Andrew Robinson [EMAIL PROTECTED] on Tue, 28 Mar 2006 17:55:37 +1000 writes: Andrew Hi Developers, Andrew The alpha, compiles successfully, but it is failing make check-all (on Andrew two seperate machines, both FreeBSD 6.1). Andrew Here is the version string:

Re: [Rd] Return function from function with minimal environment

2006-04-04 Thread Martin Maechler
Roger == Roger D Peng [EMAIL PROTECTED] on Tue, 04 Apr 2006 10:38:29 -0400 writes: Roger In R 2.3.0-to-be, I think you can do Roger foo - function(huge) { Roger scale - mean(huge) Roger g - function(x) { scale * x } Roger environment(g) - emptyenv() Roger g

Re: [Rd] contribution offer: df() for non-centrality != 0

2006-04-13 Thread Martin Maechler
Thank you, Peter, but note that this is clearly too late for 2.3.0 : If you look at the release schedule at http://developer.R-project.org/ you see that April 10 was Feature Freeze. If it looks good -- and it does after a quick glimpse -- it should be possible to be integrated for 2.3.1

<    1   2   3   4   5   6   7   8   9   10   >