Re: [Rd] numerics from a factor

2013-03-19 Thread Martin Maechler
Ulrike Grömping groemp...@bht-berlin.de on Sat, 16 Mar 2013 13:04:07 +0100 writes: Hi Terry, you can use type.convert instead of as.numeric for numbers with decimals: type.convert(levels(factor(1:6/2)), dec=unlist(options(OutDec))) Best, Ulrike a late and minor

Re: [Rd] removing union class

2013-03-26 Thread Martin Maechler
MM == Martin Maechler maech...@stat.math.ethz.ch on Tue, 19 Mar 2013 17:16:42 +0100 writes: RG == Renaud Gaujoux ren...@mancala.cbio.uct.ac.za on Sun, 17 Mar 2013 10:38:44 +0200 writes: RG Late report is better than never isn't it? :) Well,... you forgot to show the error

Re: [Rd] Empty package skeleton

2013-04-14 Thread Martin Maechler
Dirk Eddelbuettel e...@debian.org on Sun, 14 Apr 2013 06:51:38 -0500 writes: On 14 April 2013 at 14:10, Renaud Gaujoux wrote: | Hi, | | I know this has been reported/asked before ( | http://tolstoy.newcastle.edu.au/R/e15/devel/11/10/0831.html) but it would |

Re: [Rd] about the 'length' arg of vector()

2013-04-24 Thread Martin Maechler
. Thank you, Herve! Change committed to the documentation. Martin Maechler, ETH Zurich Thanks, H. -- Hervé Pagès __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] multiple issues with is.unsorted()

2013-04-24 Thread Martin Maechler
Dear Herve, Hervé Pagès hpa...@fhcrc.org on Tue, 23 Apr 2013 23:09:21 -0700 writes: Hi, In the man page for is.unsorted(): Value: A length-one logical value. All objects of length 0 or 1 are sorted: the result will be ‘NA’ for objects of length 2 or

Re: [Rd] multiple issues with is.unsorted()

2013-04-24 Thread Martin Maechler
More comments .. see inline Martin Maechler maech...@stat.math.ethz.ch on Wed, 24 Apr 2013 11:29:39 +0200 writes: Dear Herve, Hervé Pagès hpa...@fhcrc.org on Tue, 23 Apr 2013 23:09:21 -0700 writes: Hi, In the man page for is.unsorted(): Value: A length-one logical

[Rd] RFC: a safe uniroot() function for future R

2013-05-30 Thread Martin Maechler
are very welcome! Note that I'm less interested in variations which gain 10-20% in speed benchmarks, rather I'd appreciate proposals for changes that give a better (in your sense) user interface. Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing

Re: [Rd] RFC: a safe uniroot() function for future R

2013-05-31 Thread Martin Maechler
On 13-05-30 6:49 AM, Martin Maechler wrote: Duncan Murdoch murdoch.dun...@gmail.com on Thu, 30 May 2013 05:27:57 -0400 writes: On Thu, May 30, 2013 at 4:18 AM, Martin Maechler maech...@stat.math.ethz.ch wrote: With main R releases only happening yearly

Re: [Rd] Bug in stats::plot.hclust/graphics:::plotHclust/underlying C code (C_dend) in R-3.0?

2013-06-01 Thread Martin Maechler
, for reporting it in such a precise manner! Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R CMD INSTALL and file permission settings

2013-06-10 Thread Martin Maechler
Dirk Eddelbuettel e...@debian.org on Sat, 8 Jun 2013 11:22:56 -0500 writes: Summary: The directory /usr/local/lib/R/site-library can be used for site-wide multi-user installations of R. This is even the default on Debian and Ubuntu (following a suggestion by

Re: [Rd] R CMD INSTALL and file permission settings

2013-06-14 Thread Martin Maechler
Martin Maechler maech...@stat.math.ethz.ch on Mon, 10 Jun 2013 11:44:57 +0200 writes: Dirk Eddelbuettel e...@debian.org on Sat, 8 Jun 2013 11:22:56 -0500 writes: Summary: The directory /usr/local/lib/R/site-library can be used for site-wide multi-user installations

Re: [Rd] R CMD INSTALL and file permission settings

2013-06-15 Thread Martin Maechler
Dirk Eddelbuettel e...@debian.org on Fri, 14 Jun 2013 22:27:32 -0500 writes: On 14 June 2013 at 16:56, Simon Urbanek wrote: | On Jun 14, 2013, at 4:35 PM, Dirk Eddelbuettel wrote: | But up until right now I could not update a package a colleague installed, | and vice

Re: [Rd] R CMD INSTALL and file permission settings

2013-06-15 Thread Martin Maechler
Dirk Eddelbuettel e...@debian.org on Sat, 15 Jun 2013 10:45:04 -0500 writes: On 15 June 2013 at 07:00, Dirk Eddelbuettel wrote: | | On 15 June 2013 at 07:47, Simon Urbanek wrote: | | Because update.packages() doesn't restore the group-writable bit. Which leads us

Re: [Rd] str and s3 classes

2013-06-21 Thread Martin Maechler
the issue here; that's exactly what I think R-devel is for. With regards (also to the Rstudio team), Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] pretty eerie feeling: Google down, Twitter down, R sites up

2013-06-27 Thread Martin Maechler
Maybe this is just from inside ETH Zurich, but I haven't seen this before in many years: for 15 minutes now, for me and at least someone else here, - Google (incl. Gmail, calendar..) is entirely unreachable - Twitter is connecting and is not reached (in the browser), - three major Swiss

Re: [Rd] pretty eerie feeling: Google down, Twitter down, R sites up

2013-06-27 Thread Martin Maechler
Marc Schwartz marc_schwa...@me.com on Thu, 27 Jun 2013 11:26:23 -0500 writes: On Jun 27, 2013, at 10:32 AM, Martin Maechler maech...@stat.math.ethz.ch wrote: Maybe this is just from inside ETH Zurich, but I haven't seen this before in many years: for 15 minutes now

Re: [Rd] RFC: a safe uniroot() function for future R

2013-07-03 Thread Martin Maechler
Berend Hasselman b...@xs4all.nl on Mon, 3 Jun 2013 09:01:25 +0200 writes: On 31-05-2013, at 10:34, Martin Maechler maech...@stat.math.ethz.ch wrote: ….. From the current feedbacks, I'd come to propose / further discuss the following issues: 1) the goal

Re: [Rd] Posting Guide: changed link and other comment

2013-07-22 Thread Martin Maechler
Scott Kostyshak skost...@princeton.edu on Fri, 19 Jul 2013 03:34:20 -0400 writes: I have two comments regarding the Posting Guide: (1) The link in the following sentence did not work for me: Take care when you quote other people's comments to respect their rights, e.g.,

Re: [Rd] robustbase compilation problem: probably boneheaded? maybe 32-bit?

2013-07-22 Thread Martin Maechler
Simon Urbanek simon.urba...@r-project.org on Thu, 11 Jul 2013 23:10:21 -0400 writes: On Jul 11, 2013, at 10:57 PM, Ben Bolker wrote: With a recent SVN build (R Under development (unstable) (2013-07-10 r63264) -- Unsuffered Consequences), I'm having trouble installing

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-07 Thread Martin Maechler
in latest releases. JO Probably that won't happen in the current environment. JO Cheers, Jari Oksanen Martin Maechler __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] mean mailing list moderator ..

2007-11-07 Thread Martin Maechler
Hi Jari, (and interested readers) JO == Jari Oksanen [EMAIL PROTECTED] on Wed, 07 Nov 2007 12:21:10 +0200 writes: [..] [...some very good stuff...] [..] JO Cheers, Jari Oksanen JO PS. Please Mr Moderator, don't treat me so

Re: [Rd] R 2.6.0 make check fails on SGI origin 350 and

2007-11-08 Thread Martin Maechler
-tests_Rout_fail.txt With regards, Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R 2.6.0 make check fails on SGI origin 350 and

2007-11-08 Thread Martin Maechler
the check above, instead of the one that gave an error. Thank you again for your feedback! Regards, Martin Maechler, ETH Zurich kM Cheers, kM Kamil kM Kamil Marcinkowski Westgrid System Administrator kM [EMAIL PROTECTED] University

Re: [Rd] NEWS file (was faqs)

2007-11-19 Thread Martin Maechler
SU On Nov 15, 2007, at 10:53 AM, Duncan Murdoch wrote: On 11/15/2007 9:57 AM, Simon Urbanek wrote: On Nov 14, 2007, at 11:55 PM, Gabor Grothendieck wrote: inst/NEWS would have the advantage of consistency with R itself which also has a NEWS file. I vote for

Re: [Rd] patch proposal for plot.ts

2007-11-24 Thread Martin Maechler
) if(xy.lines) lines(xy, col = col, lty = lty, lwd = lwd, Best regards, Antonio. Thank you very much, Antonio, for the nice compact report and patch! This will be fixed in R 2.7.0 and maybe even in 2.6.1 Martin Maechler, ETH Zurich

Re: [Rd] Bug in package stats function ar() (PR#10459)

2007-11-24 Thread Martin Maechler
DM == Duncan Murdoch [EMAIL PROTECTED] on Sat, 24 Nov 2007 16:08:31 -0500 writes: DM On 24/11/2007 11:45 AM, Ben Bolker wrote: Steven McKinney wrote: Full_Name: Steven McKinney Version: 2.6.0 OS: OS X Submission from: (NULL) (142.103.207.10)

Re: [Rd] ?eigen documentation suggestion

2007-11-29 Thread Martin Maechler
lower triangle is used with only its lower triangle (diagonal included) is used Martin Maechler, ETH Zurich DD I suggest that changing it to DD ... and only its lower triangle is used when computing the eigenvectors. DD would be more accurate, perhaps even with a reminder about

Re: [Rd] [R] color palette from red to blue passing white (shifted from R-help)

2007-12-05 Thread Martin Maechler
Paul == Paul Murrell [EMAIL PROTECTED] on Wed, 05 Dec 2007 08:53:10 +1300 writes: Paul Hi Paul Achim and I have been looking at tidying up the colorspace package (see Paul http://r-forge.r-project.org/projects/colorspace/) to fix a few Paul inaccuracies, PLUS the

Re: [Rd] buglet in curve?

2007-12-10 Thread Martin Maechler
BB == Ben Bolker [EMAIL PROTECTED] on Sat, 08 Dec 2007 23:12:06 -0500 writes: BB -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BB Symptoms: curve with log x axis gets the wrong x BB limits (in 2.6.1, I believe introduced in this version). BB Credit goes to Mike McCoy

Re: [Rd] End of whiskers of boxplots are repeated on PDF device (PR#10499)

2007-12-14 Thread Martin Maechler
MT == Michael Toews [EMAIL PROTECTED] on Thu, 13 Dec 2007 09:00:37 -0800 writes: MT I've identified the problem for this issue, which is MT simple to fix. Please see and apply the attached MT patch. Thanks. +mt Excellent, Michael! This will be fixed in R-patched and R-devel

Re: [Rd] Improvement of SignRank functions

2007-12-15 Thread Martin Maechler
Hi Ivo, IU == Ivo Ugrina [EMAIL PROTECTED] on Fri, 14 Dec 2007 23:03:37 +0100 writes: IU I took some time and liberty and tried to improve IU existing implementation of SignRank functions IU in R. (dsignrank, ...) IU As I have seen they've been based on csignrank. IU

Re: [Rd] Improvement of SignRank functions

2007-12-15 Thread Martin Maechler
Hi Ivo, IU == Ivo Ugrina [EMAIL PROTECTED] on Sat, 15 Dec 2007 14:13:10 +0100 writes: IU Martin Maechler wrote: do you have evidence for your belief? i.e. a set of system.time(.) calls where you see the difference? IU system.time(dsignrank(17511, 400)) IU user

Re: [Rd] Wrong length of POSIXt vectors (PR#10507)

2007-12-15 Thread Martin Maechler
months ago when I indeed did experiment with having something like length.POSIXlt - function(x) length(x$sec) Martin Maechler __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] small bug in panel.cor in example for pairs?

2007-12-21 Thread Martin Maechler
MK == Matthias Kohl [EMAIL PROTECTED] on Tue, 18 Dec 2007 17:06:26 +0100 writes: MK Dear all, MK in the Example section of pairs there is MK panel.cor - function(x, y, digits=2, prefix=, cex.cor) MK { MK usr - par(usr); on.exit(par(usr)) MK par(usr = c(0, 1, 0, 1))

Re: [Rd] segfault isoreg with NAs

2007-12-21 Thread Martin Maechler
Hi Tobias, TobiasV == Tobias Verbeke [EMAIL PROTECTED] on Thu, 20 Dec 2007 08:50:16 +0100 writes: TobiasV I was able to reproduce the problem under Windows (R 2.6.1). TobiasV When running ir4 - isoreg(1:10, y4 - c(5, 9, 1:2, 5:8, NA, 8)), TobiasV the following message appears:

Re: [Rd] re quest for addition to R-int

2007-12-24 Thread Martin Maechler
BB == Ben Bolker [EMAIL PROTECTED] on Sun, 23 Dec 2007 15:31:23 -0800 (PST) writes: BB Bjørn-Helge Mevik wrote: Ben Bolker wrote: http://cran.r-project.org/doc/manuals/R-ints.html#R-coding-standards gives detailed advice on how to set the indentation

Re: [Rd] R-ints typos

2007-12-27 Thread Martin Maechler
only done there...). Regards, Martin Maechler BBcheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] is(x, parent) returns FALSE when class(x) is c(child, parent) (PR#10549)

2008-01-05 Thread Martin Maechler
TP == Tony Plate [EMAIL PROTECTED] on Sat, 05 Jan 2008 12:11:46 -0700 writes: TP [EMAIL PROTECTED] wrote: TimH == timh [EMAIL PROTECTED] on Sat, 5 Jan 2008 02:05:08 +0100 (CET) writes: TimH is() does not catch parent S3 classes: library(splines)

Re: [Rd] R Bugs link broken

2008-01-11 Thread Martin Maechler
GaGr == Gabor Grothendieck [EMAIL PROTECTED] on Wed, 9 Jan 2008 11:54:15 -0500 writes: GaGr The link to R Bugs in the posting guide GaGr http://www.r-project.org/posting-guide.html GaGr is broken. What's your definition of broken? GaGr

Re: [Rd] R-FAQ.html change breaks R Bugs link in posting guide.

2008-01-11 Thread Martin Maechler
MM == Martin Maechler [EMAIL PROTECTED] on Fri, 11 Jan 2008 09:53:50 +0100 writes: MM == Martin Maechler [EMAIL PROTECTED] on Fri, 11 Jan 2008 09:37:10 +0100 writes: GaGr == Gabor Grothendieck [EMAIL PROTECTED] on Wed, 9 Jan 2008 11:54:15 -0500 writes: GaGr The link to R

Re: [Rd] A safe do.call

2008-01-30 Thread Martin Maechler
hw == hadley wickham [EMAIL PROTECTED] on Tue, 29 Jan 2008 09:26:24 -0600 writes: Or is this a bug in glm? It certainly seems that the documentation should mention that ... is passed to glm.control, which only takes three arguments. I realise that this doesn't come

Re: [Rd] R package Matrix failing to build with R-devel on Ubuntu AMD64

2008-01-31 Thread Martin Maechler
version is R 2.7.0 Under development (unstable) (2008-01-27 r44199) which is a bit older, than the one you used (and even older than the one I used . r44258) I'm pretty sure I know around where the problem appeared.. More on this later. Martin Maechler, ETH Zurich

Re: [Rd] Pb with lapply()

2008-02-01 Thread Martin Maechler
GaGr == Gabor Grothendieck [EMAIL PROTECTED] on Thu, 31 Jan 2008 15:44:26 -0500 writes: GaGr I just checked and the code that previously triggered GaGr the promises in lists bug seems to work now so I guess GaGr it is a different problem. *very* different indeed. I'm replying

Re: [Rd] Pb with lapply()

2008-02-01 Thread Martin Maechler
) was to make more of these functions into *primitive* functions with C-internal S3 and S4 method dispatch. That maybe a desideratum for now. Martin Maechler, ETH Zurich (and R core team) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] gdb

2008-02-04 Thread Martin Maechler
DE == Dirk Eddelbuettel [EMAIL PROTECTED] on Sun, 3 Feb 2008 20:22:30 -0600 writes: DE On 4 February 2008 at 01:51, Joe Bloggs wrote: DE | Dirk Eddelbuettel [EMAIL PROTECTED] writes: DE | DE | On 3 February 2008 at 01:08, Joe Bloggs wrote: DE | | I am using gdb to

Re: [Rd] NEWS and ChangeLog in available.packages()

2008-02-18 Thread Martin Maechler
GaGr == Gabor Grothendieck [EMAIL PROTECTED] on Mon, 18 Feb 2008 10:19:05 -0500 writes: GaGr With the newly available NEWS and ChangeLog links on GaGr the CRAN pages for packages it would be nice if GaGr available.packages() gave information on those. how would you propose? It

Re: [Rd] Namespace and function open

2008-02-18 Thread Martin Maechler
MS == Markus Schmidberger [EMAIL PROTECTED] on Fri, 15 Feb 2008 15:47:16 +0100 writes: MS Hello, I built a package, everything was working very MS well. Now I included a NAMESPACE to export only some MS variables. (export(f, g, ...) ) Everything is working MS fine, except

Re: [Rd] print.logLik

2008-02-23 Thread Martin Maechler
rk == roger koenker [EMAIL PROTECTED] on Sat, 23 Feb 2008 10:34:41 -0600 writes: rk I have a vector of logLik values that I'd like to return and it would rk be nice rk if the the print method didn't run them together. Could I make a plea rk for rk using sep = ,

Re: [Rd] r44608 fails make check-all in scatter.smooth example

2008-02-26 Thread Martin Maechler
BDR == Prof Brian Ripley [EMAIL PROTECTED] on Mon, 25 Feb 2008 19:10:07 + (GMT) writes: BDR The cause is this: BDR r44607 | maechler | 2008-02-25 14:01:52 + (Mon, 25 Feb 2008) | 2 lines BDR add Fortran type declarations in two cases, mainly for didactical reasons

Re: [Rd] Warnings generated by log2()/log10() are really large/takes a long time to display

2008-02-27 Thread Martin Maechler
and eval() a new Call inside do_log1arg, but I assume there had been a good reason for doing things they way they are now... Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Warnings generated by log2()/log10() are really large/t

2008-02-29 Thread Martin Maechler
[EMAIL PROTECTED] wrote: On Wed, 27 Feb 2008, Martin Maechler wrote: Thank you Henrik, HenrikB == Henrik Bengtsson [EMAIL PROTECTED] on Tue, 26 Feb 2008 22:03:24 -0800 writes: {with many superfluous empty statements ( i.e., trailing

Re: [Rd] patch for random.c

2008-03-03 Thread Martin Maechler
BAT == Berwin A Turlach [EMAIL PROTECTED] on Fri, 29 Feb 2008 18:19:40 +0800 writes: BAT Dear all, BAT while looking for some inspiration of how to organise some code, I BAT studied the code of random.c and noticed that for distributions with BAT 2 or 3 parameters the user

[Rd] Re Bessel functions of complex argument

2008-03-10 Thread Martin Maechler
looked at *how* pari/gp does this? If they have a C routine, it might be worth considering to add ``the'' complex Bessel functionality to R. We have seen several occasions where people had a clear usage need for them. {{I have a vague déjà-vue feeling on this whole topic }} Martin Maechler

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

2008-03-10 Thread Martin Maechler
BAT == Berwin A Turlach [EMAIL PROTECTED] on Fri, 7 Mar 2008 23:54:06 +0800 writes: BAT G'day Martin (and listeners), On Fri, 7 Mar 2008 BAT 15:01:26 +0100 Martin Maechler BAT [EMAIL PROTECTED] wrote: BAT [...] If you feel like finding another elegant patch

Re: [Rd] write.table with row.names=FALSE unnecessarily slow?

2008-03-11 Thread Martin Maechler
'), and I'd like to further remark that I consider ' == TRUE ' to be quite ugly (or inefficient) in all circumstances. Martin Maechler, ETH Zurich Index: write.table.R === --- write.table.R (revision 44717

Re: [Rd] NA warnings for rdistr() {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] wrote: BAT == Berwin A Turlach [EMAIL PROTECTED] on Fri, 7 Mar 2008 23

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 meant to solve

Re: [Rd] tests Rin and Rout

2008-03-31 Thread Martin Maechler
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 == Christophe Genolini [EMAIL PROTECTED] on Mon, 31 Mar 2008 00:31:55 +0200 writes: Generally I find it's good

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 being extended in the

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 ... and decreasing

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

2008-04-05 Thread Martin Maechler
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 processing is actually

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-05 Thread Martin Maechler
) ?%^% Best regards, Martin Maechler, ETH Zurich RW operator? I am implicitly assuming that the benefits of RW a native exponentiation routine for Markov chain RW evaluation or function generation would outstrip that of RW an R solution. Based on my tests so far (comparing it to RW

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

2008-04-05 Thread Martin Maechler
for the work you've put into that. Martin Maechler Bdr Incidentally, windows() and quartz() are nowhere near as fast as Xlib on BDR the same or similar hardware. On my laptop system.time(plot(F)) BDR user system elapsed BDR 0.140.430.72 system.time(doplots(df

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread Martin Maechler
on this? Thanks Rory VG HTH VG Vincent On Sat, Apr 5, 2008 at 6:52 PM, Martin Maechler [EMAIL PROTECTED] wrote: RW == Rory Winston [EMAIL PROTECTED] on Sat, 5 Apr 2008 14:44:44 +0100 writes: RW Hi all I recently

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 earlier. Lack of

Re: [Rd] matrix

2008-04-17 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 R-help.

Re: [Rd] AddComment (gram.y)

2008-04-19 Thread Martin Maechler
... 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, there was no to do it right in all cases}. Martin Maechler DM Use the source refs. They aren't DM cannibalized, they are still

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

2008-04-21 Thread Martin Maechler
we would want that, but I think just because the underlying C math library does so. I would personally like to change both behaviors, but am currently only proposing to change prod() such as to return 0 in such cases. This would be S-plus compatible, in case that matters. Opinions? Martin

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

2008-04-22 Thread Martin Maechler
)# 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 from packages outside of standard R. Martin Maechler, ETH Zurich OlegS This fix effectively makes Axis.POSIXct and all other

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 OlegS works,

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 Maechler wrote: BD

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 coercing

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

2008-04-30 Thread Martin Maechler
, often just because of a typo. So I think ?non-existing should ``answer quickly'' by default. Martin Maechler DM Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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 TeX has not

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

2008-05-08 Thread Martin Maechler
(a, class=c(list, a)); all.equal(a, b) [1] Attributes: target is NULL, current is list all.equal(a,b, check.attributes=FALSE) [1] TRUE all.equal(b,a, check.attributes=FALSE) [1] TRUE Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list

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 simple example

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

2008-05-13 Thread Martin Maechler
and had told you that the bug actually had been fixed. Sometimes this if forgotten because of busy schedules ... So let me give you late ** Thank you very much !! ** for the original bug report. Martin Maechler, ETH Zurich SS But to put things in the right light. There is no bug in SS my

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

2008-05-30 Thread Martin Maechler
the ./configure error message he'd reported. Is that correct Mark? {Not that I could really help further here with the configure problem} Martin Maechler, ETH Zurich SU However, many packages don't use autoconf properly which results SU in broken configure scripts (the configure

Re: [Rd] Request: Documentation of formulae

2008-06-03 Thread Martin Maechler
to students, to online guides, to books, etc. For this reason, a new title should reall still contain the term. Maybe simply An Introduction to R --- User's guide ? Best regards, Martin Maechler, ETH Zurich __ R-devel@r-project.org

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 a series of tests,

Re: [Rd] qf with infinite df

2008-06-05 Thread Martin Maechler
() and pf() are. qf() may still be expected if you think a bit how it might be computed. OTOH, we could clearly do better there. Notably, 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

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 ^^ 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 updated version in

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 template ready to

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 PD SVN or

Re: [Rd] [.data.frame speedup

2008-07-03 Thread Martin Maechler
try to provide a minimal patch against the source code and also a selfcontained example that exhibits the speed gain you are aiming for ? Best regards, Martin Maechler, ETH Zurich [.] TH On Tue, Jul 1, 2008 at 11:20 AM, Tim Hesterberg [EMAIL PROTECTED] TH wrote

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. ~ if one uses the mu/size

Re: [Rd] update on dnbinom with large size

2008-07-04 Thread Martin Maechler
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 Bolker BB Prof Brian Ripley wrote: BB | On Fri, 4 Jul 2008, Martin Maechler wrote: BB | BB | BDR

Re: [Rd] [.data.frame speedup

2008-07-05 Thread Martin Maechler
, your proposed 'noDuplicateRowNames' computations are sometimes more expensive than the duplicated(.) call they replace. To me, that means that the whole exercise was probbaly in vain: We are not making the code more complicated if it's not a uniform improvement. Too bad. Martin Maechler, ETH

Re: [Rd] spss long labels

2008-07-15 Thread Martin Maechler
, Martin Maechler, ETH Zurich and R Core Team. KVD Kurt Van Dijck wrote: Hi, A frequently seen issue with importing SPSS data files, is that R does not import the 'long variable names'. I built a patch on the R-project's foreign module, in order to import

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 % R

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. [] Thanks a lot, Bill.

Re: [Rd] spss long labels

2008-07-16 Thread Martin Maechler
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
later version, or b) the Artistic License which comes with Perl source code. so they are exactly from the group mentioned below as the code in question may be available under multiple licenses Thank you, Gabor, for asking. Martin Maechler ETH Zurich and R Core Team GaGr Artistic

Re: [Rd] plot.dendrogram xlim/ylim

2008-07-24 Thread Martin Maechler
for the suggestion! Yes, something like this will be part of R 2.8.0 (or 'R-devel' as from tomorrow). Martin Maechler, ETH Zurich -- Felix Andrews / 安福立 PhD candidate Integrated Catchment Assessment and Management Centre The Fenner School of Environment and Society The Australian National

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

2008-07-30 Thread Martin Maechler
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
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, Robert [EMAIL PROTECTED] on Tue, 29 Jul 2008 15:40:37 -0400 writes: RobMcG FYI, RobMcG I've tried

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