Re: [Rd] NA warnings for r() {aka "patch for random.c"}

2008-03-11 Thread Martin Maechler
>>>>> "BAT" == Berwin A Turlach <[EMAIL PROTECTED]> >>>>> on Tue, 11 Mar 2008 13:19:46 +0800 writes: BAT> G'day Martin and others, BAT> On Mon, 10 Mar 2008 12:06:01 +0100 BAT> Martin Maechler <[EMAIL PROTECTED]>

Re: [Rd] NA warnings for r() {aka "patch for random.c"}

2008-03-12 Thread Martin Maechler
>>>>> "BAT" == Berwin A Turlach <[EMAIL PROTECTED]> >>>>> on Wed, 12 Mar 2008 01:23:10 +0800 writes: BAT> G'day Martin, On Tue, 11 Mar 2008 18:07:35 +0100 Martin BAT> Maechler <[EMAIL PROTECTED]> wrote: >> &g

Re: [Rd] bug with R CMP SHLIB (PR#10945)

2008-03-13 Thread Martin Maechler
-devel' would have been appropriate, but really it is recommened to use the Mac specific mailing list, R-SIG-Mac (--> http://stat.ethz.ch/mailman/listinfo/r-sig-mac/ for problems like yours. ak> Can you help me ? Not more than that, but I am sure some of the reader of R-

Re: [Rd] Experimental R_has_slot() utility

2008-03-15 Thread Martin Maechler
> "LG" == Laurent Gautier <[EMAIL PROTECTED]> > on Sat, 15 Mar 2008 16:24:26 +0800 writes: LG> Dear list, The utility "R_has_slot" mentioned in the LG> file NEWS ("Experimental R_has_slot() utility LG> supplementing R_do_slot()") appears to be missing from a LG> fresh c

Re: [Rd] cut.Date and cut.POSIXt problem

2008-03-26 Thread Martin Maechler
> "RDP" == Roger D Peng <[EMAIL PROTECTED]> > on Wed, 26 Mar 2008 09:18:19 -0400 writes: RDP> I have applied these patches to R-devel and in my limited testing they appear to RDP> work as desired. I have to say that I never ran into the problem these patches RDP> were

Re: [Rd] tests Rin and Rout

2008-03-31 Thread Martin Maechler
:runit and we have recently nicely implemented a version of this approach in most Rmetrics R packages, e.g. 'fCalendar' as one example. It builds on a simple tests/doRunit.R file and then on content in inst/unitTests/ Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] tests Rin and Rout

2008-03-31 Thread Martin Maechler
>>>>> "ChrG" == cgenolin <[EMAIL PROTECTED]> >>>>> on Mon, 31 Mar 2008 10:58:33 +0200 writes: ChrG> Martin Maechler <[EMAIL PROTECTED]> a écrit ChrG> : >>>>>>> "CG" == Chri

Re: [Rd] package.skeleton.S4

2008-04-05 Thread Martin Maechler
> "CG" == Christophe Genolini <[EMAIL PROTECTED]> > on Sat, 05 Apr 2008 12:47:13 +0200 writes: CG> John Chambers a écrit : >> Christophe, >> >> Thanks for your work; unfortunately, at the same time you >> were developing your version, the original function was

Re: [Rd] optim: why is REPORT not used in SANN?

2008-04-05 Thread Martin Maechler
> "TP" == Thomas Petzoldt <[EMAIL PROTECTED]> > on Sun, 16 Mar 2008 13:50:55 +0100 writes: TP> Hello, I wonder why the control parameter REPORT is not TP> supported by method SANN. Looking into optim.c I found TP> an internal constant: TP> #define STEPS 100 TP> ..

Re: [Rd] suggested minor patch for optim.R

2008-04-05 Thread Martin Maechler
B> freeze for 2.7.0 (?), but I'd appreciate any comments BB> ... I'd say this is a bug fix and not a new feature, so there's plenty of time for 2.7.0. I'm about to commit it (i.e. a slightly more compact version). Thank you, Ben! Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] X11 image problem in R-2.8.0 Under development / R-2.7

2008-04-05 Thread Martin Maechler
> "BDR" == Prof Brian Ripley <[EMAIL PROTECTED]> > on Sat, 5 Apr 2008 16:27:52 +0100 (BST) writes: BDR> On Sat, 5 Apr 2008, Martin Morgan wrote: >> Yes, thank you, this fixes the problem for me. >> >> As a follow-up, and again with my ignorance of where >> processi

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-05 Thread Martin Maechler
install.packages("expm",repos="http://R-Forge.R-project.org";) -- but only from tomorrow for Windows (which installs a pre-compiled package), since I found that we had accidentally broken the package trivially by small changes two weeks ago. and then library(expm

Re: [Rd] X11 image problem in R-2.8.0 Under development / R-2.7

2008-04-05 Thread Martin Maechler
I was also negatively supprised how much more noticable on my notebook with sub-optimal but neither cheap nor really old hardware. I'd never even consider changing the default; but I would quickly fire up an x11(type="Xlib") if I needed it in some cases. I think we've made a

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread Martin Maechler
tand what you mean, here. Thank you, Vincent. I think Rory was asking about how the integration into "R base" should happen. In that case there's much more choice than just the .Call() or .External() one: There's also .Internal() and ".Primitive", and for instanc

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread Martin Maechler
> "rw" == rory winston <[EMAIL PROTECTED]> > on Tue, 8 Apr 2008 14:06:26 + writes: rw> Hi martin rw> Actually I did read your email. If you had actually read *my* email you would have seen that I am not using the windows version, which is what you explicitly referred to e

Re: [Rd] matrix

2008-04-16 Thread Martin Maechler
> "YJ" == Yuan Jian <[EMAIL PROTECTED]> > on Wed, 16 Apr 2008 18:42:53 -0700 (PDT) writes: YJ> thanks, YJ> can I ask another basic question? yes, but *NOT* on R-devel. PLEASE! There seems to be a recent tendency to misuse R-devel for things that *REALLY* *ONLY* belong to

Re: [Rd] AddComment (gram.y)

2008-04-19 Thread Martin Maechler
gt; DM> Yes, I would. and so would probably almost everyone in R-core. We *did* think already back in the last millennium... and removed them for a good reason {IIRC, because there were always cases where they were attached to the wrong expression, and we were more or less convinced, th

[Rd] prod(0, 1:1000) ; 0 * Inf etc

2008-04-21 Thread Martin Maechler
s? Martin Maechler, ETH Zurich & R-core __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] graphics::Axis loosing S3/S4 class attributes of 'x' in 2.7.0 RC

2008-04-22 Thread Martin Maechler
axes in these three cases: ## Axis() calls via plot() x <- as.Date("2008-04-22 09:45") + (i <- 0:4) plot(x)# not ok in 2.6.2, nor 2.7.0 plot(x, i)# ok in 2.6.2 and 2.7.0 plot(i, x)# ok in 2.6.2 and not in 2.7.0 I'm grateful for further examples, preferably not using code fr

Re: [Rd] plot(x) in 2.7.0 (with y=NULL) proposed code correction

2008-04-22 Thread Martin Maechler
> "OlegS" == Sklyar, Oleg \(MI London\) <[EMAIL PROTECTED]> > on Tue, 22 Apr 2008 17:34:24 +0100 writes: OlegS> Hi all: OlegS> following the previous discussion, it looks like plot(x) with y=NULL OlegS> still does not work correctly. If one tries for example plot(1:5) it

Re: [Rd] plot(x) in 2.7.0 (with y=NULL) proposed code correction

2008-04-23 Thread Martin Maechler
Thank you, Bill, (and Gabor BTW) for the nice example. In the mean time the change has made it into R-patched aka 'R 2.7.0 patched' , not only in SVN but also already in last night's snapshot at ftp://stat.ethz.ch/Software/R/ Martin BD> On Tue, 22 Apr 2008, Martin Maec

Re: [Rd] S4 default for coercing

2008-04-24 Thread Martin Maechler
Yes, there's a change from R 2.6.2 to 2.7.0 that might have been unintended and hence a bug. The short version is this setClassUnion("OptionalPOSIXct", c("POSIXct", "NULL")) as(Sys.time(), "OptionalPOSIXct", strict=FALSE) which now gives >> Error .. >> no method or default for coe

Re: [Rd] RFC: What should ?foo do?

2008-04-29 Thread Martin Maechler
has had the optional argument ' try.all.packages = getOption("help.try.all.packages") ' for many years now, and I have been involved in its history as well but don't recall all details. IIRC, help() {and hence "?"} used to *default* to 'try.all.packages =

Re: [Rd] S4 / S3 / Sweave problem

2008-05-05 Thread Martin Maechler
> "PaulG" == Paul Gilbert <[EMAIL PROTECTED]> > on Sun, 04 May 2008 21:46:18 -0400 writes: PaulG> Prof Brian Ripley wrote: >> I'm not sure what the issue being asked about here is. The peculiar >> printing I don't see and may well be a locale issue. (Is this UTF-8 and

Re: [Rd] all.equal, classes, and order of arguments

2008-05-08 Thread Martin Maechler
hw> to guarantee in general. hw> Hadley You can use 'check.attributes' : > str(all.equal) function (target, current, ...) > str(all.equal.list) function (target, current, check.attributes = TRUE, ...) > a <- list(); b <- structure(a, class=c(&quo

Re: [Rd] str and class

2008-05-09 Thread Martin Maechler
> "HT" == Heather Turner <[EMAIL PROTECTED]> > on Fri, 09 May 2008 18:00:37 +0100 writes: HT> In previous versions of the gnm package, the terms HT> component of "gnm" objects had a "classID" HT> attribute. This caused problems when used with str as HT> the following si

Re: [Rd] (PR#11281) Bug in R 2.7 for over long lines

2008-05-13 Thread Martin Maechler
discussion. I think it was partly misunderstanding on both sides. The bug *was* indeed fixed only a couple of hours after your report : >> r45496 | ... | 2008-04-25 09:37:53 +0200 (Fri, 25 Apr 2008) | >> >> change long-standing out-by-one error for invalid input I agree

Re: [Rd] need some help in plotting xy graph

2008-05-21 Thread Martin Maechler
1) If you need some help, *PLEASE* use the R-help mailing list. 2) Sending your e-mail more than once (you sent it 3 times!) to the same mailing list of hundreds of subscribers is considered very impolite. Martin Maechler, ETH Zurich, R-devel List manager >>>>> &q

Re: [Rd] Multiple Intersections

2008-05-28 Thread Martin Maechler
Please, Gentlemen, this whole thread has *nothing* to do with "R-devel", and pretty much with "R-help". So please revert to there (or do reply off-list if you really want that) Regards, Martin > "TC" == Tony Chiang <[EMAIL PROTECTED]> > on Wed, 28 May 2008 16:57:04 +0100 writes:

Re: [Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-30 Thread Martin Maechler
th SU> icc. But if I read Mark's very first post correctly, he tried to build R with icc (and ifort, and their libraries) that he didn't succeed already there, but rather gave the ./configure error message he'd reported. Is that correct Mark? {Not that I could really h

Re: [Rd] Request: Documentation of formulae

2008-06-02 Thread Martin Maechler
is @BOOK{AndT84, author = {T. W. Anderson}, title ={An Introduction to Multivariate Statistical Analysis}, publisher = Wiley, address = NY, year = 1984 } 3) "An Introduction to R" is mentioned in many many pieces of documentation ab

Re: [Rd] benchmarking R installations

2008-06-03 Thread Martin Maechler
> "SU" == Simon Urbanek <[EMAIL PROTECTED]> > on Tue, 3 Jun 2008 11:52:14 -0400 writes: SU> On Jun 3, 2008, at 3:58 AM, Ludo Pagie wrote: >> recently there was a post on R-help/Rd ?? with this link >> on benchmarking different 'number crunching >> packages'. They used

Re: [Rd] qf with infinite df

2008-06-05 Thread Martin Maechler
bly, qf()'s behavior is really not good enough, for the case of large df1 and/or df2. I'll have a look but won't promise much for now. Martin Maechler, ETH Zurich SG> Thanks SG> Simone >> R.version SG>_ platform i386-pc-mingw32 arch i

Re: [Rd] doc buglet / as.Date method

2008-06-07 Thread Martin Maechler
> "PR" == Paul Roebuck <[EMAIL PROTECTED]> > on Thu, 5 Jun 2008 10:55:54 -0500 (CDT) writes: PR> Under Details section for as.Date: PR> as.Date will accept numeric data (the number of days PR> since an epoch), but only is origin is supplied. PR>

Re: [Rd] Posting Guide - help.request() function?

2008-06-09 Thread Martin Maechler
> "HT" == Heather Turner <[EMAIL PROTECTED]> > on Mon, 09 Jun 2008 17:21:17 +0100 writes: HT> Thanks for the helpful tips and suggestions, I'll work HT> them in. You get local versions of the documents on Unix HT> too - RShowDoc() will do the trick. HT> I'll post an up

Re: [Rd] Error in "getClass" when calling the function "show"

2008-06-10 Thread Martin Maechler
> "LG" == Laurent Gautier <[EMAIL PROTECTED]> > on Tue, 10 Jun 2008 09:58:17 +0200 writes: LG> 2008/6/10 Prof Brian Ripley <[EMAIL PROTECTED]>: >> On Tue, 10 Jun 2008, Laurent Gautier wrote: >> >>> 2008/6/10 Prof Brian Ripley <[EMAIL PROTECTED]>: sho

Re: [Rd] Posting Guide - help.request() function?

2008-06-11 Thread Martin Maechler
> "HT" == Heather Turner <[EMAIL PROTECTED]> > on Wed, 11 Jun 2008 12:50:49 +0100 writes: HT> Okay, here's the update. HT> I've created a new function create.post() (with Windows and Unix HT> versions) which would be the internal function that creates the post HT> tem

Re: [Rd] version stamp details missing on current checkout

2008-06-26 Thread Martin Maechler
> "PD" == Peter Dalgaard <[EMAIL PROTECTED]> > on Thu, 26 Jun 2008 15:03:31 +0200 writes: PD> Vincent Carey 525-2265 wrote: PD> Works for me... what's in your SVN-REVISION file? Notice that there is PD> some slightly weird logic to distinguish whether you are building from

Re: [Rd] [.data.frame speedup

2008-07-03 Thread Martin Maechler
rce code in https://svn.r-project.org/R/trunk/src/library/base/R/dataframe.R that I don't think we would accept it as a substitute, easily. Could you try to provide a minimal patch against the source code and also a selfcontained example that exhibits the speed gain you are aiming for ?

Re: [Rd] update on dnbinom with large "size"

2008-07-04 Thread Martin Maechler
> "BDR" == Prof Brian Ripley <[EMAIL PROTECTED]> > on Fri, 4 Jul 2008 09:02:21 +0100 (BST) writes: BDR> On Thu, 3 Jul 2008, Ben Bolker wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> >> ~ turns out I don't need to look at the C code. >> >> ~

Re: [Rd] update on dnbinom with large "size"

2008-07-04 Thread Martin Maechler
get wonky around size=5e14 BB> (this is for mu=1) BB> but thinking a little harder about the numerical analysis BB> will probably give a more precise criterion. BB> curve(dnbinom(1,mu=1,size=x),from=5e14,to=1e16,log="x",ylim=c(0.32,0.37)) BB> ~ Ben Bo

Re: [Rd] [.data.frame speedup

2008-07-05 Thread Martin Maechler
duplicate columns if(any(duplicated(nm <- names(x names(x) <- make.unique(nm) if(is.null(rows)) rows <- attr(xx, "row.names")[i] TH> Here's some code for testing, and timings . I've rationalized (wrote functions) and sli

Re: [Rd] spss long labels

2008-07-15 Thread Martin Maechler
spss() call which exhibits the problems and is fixed by your patch? Thank you in advance for your contribution! Best regards, Martin Maechler, ETH Zurich and R Core Team. KVD> Kurt Van Dijck wrote: >> Hi, >> >> A frequently seen issue with importing SPSS data files

Re: [Rd] memory leak in sub("[range]",...)

2008-07-15 Thread Martin Maechler
> "BD" == Bill Dunlap <[EMAIL PROTECTED]> > on Wed, 9 Jul 2008 11:26:50 -0700 (PDT) writes: BD> There is a 2-block memory leak in the sub() (or any other regex-related BD> function, probably) when the pattern argument involves a range BD> expression, e.g., '[0-9]'. BD>

Re: [Rd] memory leak in readline code

2008-07-15 Thread Martin Maechler
> "BD" == Bill Dunlap <[EMAIL PROTECTED]> > on Thu, 10 Jul 2008 13:17:03 -0700 (PDT) writes: BD> Several folks have previously written that valgrind BD> notices a memory leak in R's readline code. It looks BD> like it leaks a copy of every input line. [] Than

Re: [Rd] spss long labels

2008-07-16 Thread Martin Maechler
27;d be glad if you'd test the new foreign package, once it will be available for update.packages(). Martin Maechler __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] License Conflict?

2008-07-21 Thread Martin Maechler
U Library General Public License as published by the Free >>Software Foundation; either version 2, or (at your option) any >>later version, or >> >> b) the "Artistic License" which comes with Perl source code. so they are exactly from the group mentioned be

Re: [Rd] plot.dendrogram xlim/ylim

2008-07-24 Thread Martin Maechler
>> xl <- xlim0 >> xlim0 <- rev(ylim0) >> ylim <- xl >> tmp <- xaxt >> xaxt <- yaxt >> yaxt <- tmp >> } >> if (missing(xlim)) xlim <- xlim0 >> if (mi

Re: [Rd] R-bugs e-mail problems {was "sapply(Date, is.numeric)"}

2008-07-30 Thread Martin Maechler
(smart programmer) to program the one-time migration, but that somehow failed, too? I'm getting really off-topic, but this my be worthwhile theme to open just before meeting many at the useR!2008 in Dortmund. Martin Maechler, ETH Zurich and R-Core __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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

2008-07-30 Thread Martin Maechler
s.numeric) ## TRUE ## in spite of is.numeric(`[[`(ll,1)) ## FALSE , because of is.numeric.date ## or round(`[[`(ll,1)) ## [1] "2008-07-30" "2008-07-31" "2008-08-01" "2008-08-02" ##- But I'm currently too much tied up with other duties, to find and test bug-fix. Martin Maechler, ETH Zurich and R-Core Team __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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

2008-07-30 Thread Martin Maechler
>>>>> "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" == McGehee,

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

2008-07-31 Thread Martin Maechler
g is given if any non-factor >> column has a class, as then information can be lost. Do we really have good reasons to give an error if a column is not numeric (nor of the "exception class")? Couldn't we just lapply(., as.numeric) and if that doesn't give err

[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

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 h

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: H

Re: [Rd] Bug repository awakening

2008-08-07 Thread Martin Maechler
This time (US morning), it was Marc who manually approved many dozens of messages. [[ ==> 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

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

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. T

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/ b

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

2008-08-21 Thread Martin Maechler
rXuYd <- function(x,y) { ## Purpose: order(x,y): x up, y down ## -- ## Arguments: x,y: vectors of the same length ## -- ## Author: Martin Maechler, Date: 21 Aug 2008 ix <- order(x

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

2008-08-21 Thread Martin Maechler
Duh!! The simplest, probably fastest and most elegant solution of course is order(x, -y) .. if only I would have biked home earlier, today,... I'm sure I would have save much of my time Martin >>>>> "MM" == Martin Maechler <[EMAIL PRO

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

2008-08-29 Thread Martin Maechler
1 matrix (i.e. just a real) saying cd> 'a' must be a numeric matrix 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 <- ch

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

2008-08-29 Thread Martin Maechler
ll treat a numeric (of length 1) as a 1 x 1 matrix automatically. cd> Thanks for your answer De rien! Martin cd> 2008/8/29 Martin Maechler <[EMAIL PROTECTED]> >> >>>>> "cd" == christophe dutang <[EMAIL PROTECTED]> >> >>

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

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

2008-09-04 Thread Martin Maechler
octet-stream' which basically means "unknown binary format" i.e. the same format that any executable virus / 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 o

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

2008-09-13 Thread Martin Maechler
is the new default in the cases where "complete.obs" has been the default, notably for var(*, na.rm=TRUE). Consequently, all of var(double(0)) var(double(0), na.rm=TRUE) and var(NA, na.rm=TRUE) now return NA instead of an error { "empty 'x&#

[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 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 frequ

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

2008-09-27 Thread Martin Maechler
obably rather wtP <- wwt; wtP$density <- wwt$density * 100 * diff(wwt$breaks)[1] plot(wtP, freq=FALSE, ylab="Relative Frequency [ % ]") But note that I would strongly advocate to use the default of counts instead of the above, since from counts, one intuitively gets

[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.

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]> >>>>&

[Rd] Planned mailing list "timeout" of several hours

2008-09-30 Thread Martin Maechler
gs 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 Maech

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-

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> functi

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

Re: [Rd] Wishlist: pass args from demo() to source()

2008-11-03 Thread Martin Maechler
> "DM" == Duncan Murdoch <[EMAIL PROTECTED]> > on Sun, 02 Nov 2008 10:19:29 -0500 writes: DM> On 02/11/2008 9:33 AM, Gabor Grothendieck wrote: >> Currently demo calls source with a hard coded >> max.deparse.length = 250 so you can't really see the demo >> properly in so

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

2008-11-14 Thread Martin Maechler
Paths() ## msgTxt: optional message text about the insertion ## ## Author: Martin Maechler, 2006 if(file.exists(nlib)) { if(length({fl <- list.files(nlib); fl[fl != &qu

Re: [Rd] stringsAsFactors = FALSE

2008-11-17 Thread Martin Maechler
us read.table(*, stringsAsFactors=FALSE) incantations such that all the factor-haters-string-lovers can use these short forms... At the very first DSC, 1999, Joe Eaton, author of GNU octave, told us how he regretted that he had started going down that bad path, because users had started asking fo

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)

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` <- to signal an e

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 >>>&

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

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 tarb

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.

Re: [Rd] package development

2008-12-12 Thread Martin Maechler
that I could not reasonably see the case 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 > 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] legend() in a multiple figure environment

2009-01-08 Thread Martin Maechler
> "SG" == Simone Giannerini > on Thu, 8 Jan 2009 14:08:17 +0100 writes: SG> Dear Mathieu, On Thu, Jan 8, 2009 at 12:14 PM, Mathieu SG> Ribatet wrote: >> Dear Simone, >> >> Did mean that the legend (text and/or box) overlap with >> the Normal density? SG>

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

2009-01-16 Thread Martin Maechler
21 13 16 13 4 3 4 - attr(*, >>> "dimnames")=List of 1 ..$ : chr [1:10] "0" "1" "2" "3" >>> ... >>> >>> and yes, f is an atmoic vector and yes, str()'s notation >>> is confu

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

2009-01-17 Thread Martin Maechler
>>>>> "TP" == Tony Plate >>>>> on Fri, 16 Jan 2009 13:10:04 -0700 writes: TP> Martin Maechler wrote: >>>>>>> "PatB" == Patrick Burns >>>>>>> on Tue, 13 Jan 2009 17:00:40 + write

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

2009-01-23 Thread Martin Maechler
>>>>> "TP" == Tony Plate >>>>> on Thu, 22 Jan 2009 11:01:21 -0700 writes: TP> Martin Maechler wrote: >>>>>>> "TP" == Tony Plate >>>>>>> on Fri, 16 Jan 2009 13:10:04 -0700 wri

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

2009-01-26 Thread Martin Maechler
>>>>> "MS" == Marc Schwartz >>>>> on Fri, 23 Jan 2009 08:41:38 -0600 writes: MS> on 01/23/2009 07:36 AM Martin Maechler wrote: >>>>>>> "TP" == Tony Plate on Thu, 22 Jan >>>>>>> 2009

Re: [Rd] best reference on generics

2009-02-09 Thread Martin Maechler
t is >> recommended to use the more flexible and robust _S4_ scheme >> 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

Re: [Rd] proposed simulate.glm method

2009-02-13 Thread Martin Maechler
R-devel [to become R 2.9.0 in the future]. About the help page: At the moment, I think that only a few words would need to be added to the simulate help page, i.e., https://svn.r-project.org/R/trunk/src/library/stats/man/simulate.Rd and will be happy to receive a patch against this file. Thank y

Re: [Rd] proposed simulate.glm method

2009-02-13 Thread Martin Maechler
de together with Ben's. One alternative (not mentioned yet on R-devel), we've been considering is to use simulate.lm() to also deal with "glm" (and possibly "gnm") objects ``in one place''. Martin HT> Martin Maechler wrote: >>>>&

Re: [Rd] proposed simulate.glm method

2009-02-13 Thread Martin Maechler
Thank you, Heather and Ben, > "HT" == Heather Turner > 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 the extended

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 >>>>> on Fri, 13 Feb 2009 20:02:28 -0800 writes: PC> Here is a patch for a small t

Re: [Rd] proposed simulate.glm method

2009-02-14 Thread Martin Maechler
stion you've asked.. Martin NicLK> Nicholas >> Message: 9 Date: Fri, 13 Feb 2009 21:27:57 +0100 From: >> Martin Maechler Subject: Re: >> [Rd] proposed simulate.glm method To: Heather Turner >> Cc: r-devel@r-project.org, >> Martin Mae

Re: [Rd] [R] are arithmetic comparison operators binary?

2009-02-24 Thread Martin Maechler
>>>>> "WK" == Wacek Kusnierczyk >>>>> on Mon, 23 Feb 2009 19:29:31 +0100 writes: WK> Martin Maechler wrote: >>>>>>> "WK" == Wacek Kusnierczyk >>>>>>> on Mon, 23 Feb 2009 12:06:32 +0

Re: [Rd] [R] Semantics of sequences in R

2009-02-24 Thread Martin Maechler
> "WK" == Wacek Kusnierczyk > on Tue, 24 Feb 2009 11:31:13 +0100 writes: WK> Dimitris Rizopoulos wrote: >> in my opinion the point of the whole discussion could be summarized by >> the question, what is a design flaw? This is totally subjective, and >> it happens almos

<    12   13   14   15   16   17   18   19   >