Re: [R] FW: Re: linux batch question

2008-10-31 Thread Martin Maechler
> "ML" == Mark Leeds <[EMAIL PROTECTED]> > on Wed, 29 Oct 2008 17:13:04 -0500 (CDT) writes: ML> Hi Phil: That's EXACTLY what it is. Thanks so much. It's nice to know ML> that the R Gods don't hate me. I hope it's okay that I'm going to cc ML> r-help ML> in case this t

Re: [R] ESS Toolbar missing after Ubuntu Update

2008-11-03 Thread Martin Maechler
Hi Andreas, > "AW" == Andreas Wittmann <[EMAIL PROTECTED]> > on Sun, 2 Nov 2008 01:44:58 -0800 (PST) writes: AW> Dear R useRs, yesterday i updated my system from ubuntu AW> 8.04 to 8.10. I use emacs- snapshot, this is emacs AW> 23.0.60.1 and ess 5.3.8. I think R-help is n

Re: [R] plot.hclust with lots of objects

2008-11-08 Thread Martin Maechler
;dendrogram" i.e. dhc <- as.dendrogram(hc) ... plot(dhc, ..) you can make use of the (hidden!) plot.dendrogram() method which is much more customizable (but typically slower) than plot.hclust(). Martin Maechler, ETH Zurich TP> paul murima wrote: >> Dear all,

Re: [R] R-square in robust regression

2008-11-13 Thread Martin Maechler
538" (number: for the stack loss example) But the question is if the customer should get R^2 even in casses where its definition is very doubtful and indeed somewhat *counter* to the purpose of using methods that are NOT least-squares based Martin Maechler, ETH Zurich

Re: [R] Symbols to use in text

2008-11-14 Thread Martin Maechler
> "GF" == Guillaume Filteau <[EMAIL PROTECTED]> > on Thu, 13 Nov 2008 22:38:04 -0500 writes: GF> Hello all, I'm trying to use text symbols in R, such are GF> greek letters and mathematical operators. Do you know GF> where I can find a list telling me how to use all those

Re: [R] exponential of a matrix

2008-11-14 Thread Martin Maechler
s of the expm package. Incidentally, here at ETH we have a master's student working on these issues for his master's thesis (ending around February'09). Martin Maechler, ETH Zurich __ R-help@r-project.org mailing list https://stat.ethz.c

Re: [R] exponential of a matrix

2008-11-14 Thread Martin Maechler
art of the 'expm' package on R-forge which I mentioned in my other reply in this thread (a few minutes ago). Martin Maechler DW> -- David Winsemius DW> On Nov 11, 2008, at 5:20 PM, Terry Therneau wrote: >> Is the matrix exponential available in some packa

Re: [R] exponential of a matrix

2008-11-14 Thread Martin Maechler
>>>>> "MM" == Martin Maechler <[EMAIL PROTECTED]> >>>>> on Fri, 14 Nov 2008 18:05:54 +0100 writes: >>>>> "DW" == David Winsemius <[EMAIL PROTECTED]> >>>>> on Tue, 11 Nov 2008 17:52:18 -0500 write

Re: [R] Classes

2008-11-17 Thread Martin Maechler
> "N" == Nick <[EMAIL PROTECTED]> > on Sat, 15 Nov 2008 13:39:44 -0800 (PST) writes: N> Code: # svm is an S3 class, so: setOldClass("svm") N> # Create the super class model: setClass("model") N> # For svm from e1071 this works (well gives no error): N> setIs("svm", "

Re: [R] Bug in Kendall for n<4?

2008-11-22 Thread Martin Maechler
2 > cor(1:3, 1:3, method="kendall") [1] 1 > cor.test(1:3, 1:3, method="kendall") Kendall's rank correlation tau data: 1:3 and 1:3 T = 3, p-value = 0. alternative hypothesis: true tau is not equal to 0 sample estimates: tau 1

Re: [R] Bug in Kendall for n<4?

2008-11-24 Thread Martin Maechler
IM> been extensively tested. AIM> Also, I doubt if the current p-values from cor.test are AIM> correct for small n and I notice that ties in one AIM> ranking do produce a warning. That's an interesting point about which I think we should exchange more, but really in

Re: [R] R vs Python performance-wise

2008-12-06 Thread Martin Maechler
> "JQ" == Jose Quesada <[EMAIL PROTECTED]> > on Sat, 06 Dec 2008 12:28:34 +0100 writes: JQ> Hi, Has anyone run any R vs Python (numpy) tests? I'd JQ> love to see what the differences performance-wise are, JQ> specially handling large sparse matrices. Since both JQ> re

Re: [R] [R-pkgs] R CMD check on window XP

2008-12-16 Thread Martin Maechler
This message accidentally (list moderator mistake) made it to R-packages; it clearly should have been R-help only. Please only reply to R-help if you can help Sue. Martin Maechler, R-packages list moderator >> Hi, there, >> I used R CMD check to build my "ATGGS" package

Re: [R] sprucing up the R homepage

2007-09-27 Thread Martin Maechler
ment to the code Paul> "behind" the image. Yes, that was my "concern" too. After all, with R (and Sweave and ...) advocating ``reproducible research'' in many ways, I'd very much like a reproducible image there; we can live with using non-R code for post process

Re: [R] plot graph with error bars trouble

2007-10-01 Thread Martin Maechler
> "GaGr" == Gabor Grothendieck <[EMAIL PROTECTED]> > on Sun, 30 Sep 2007 21:15:37 -0400 writes: GaGr> On 9/30/07, hadley wickham <[EMAIL PROTECTED]> wrote: >> On 9/30/07, jiho <[EMAIL PROTECTED]> wrote: >> > On 2007-September-30 , at 22:40 , hadley wickham wrote: >> >

Re: [R] convert a tar.gz to a Windows zip

2007-10-02 Thread Martin Maechler
``oceans'' between a source package and a windows binary package. Katherine's advice is right on target: Do use the service Uwe Ligges provides via http://win-builder.r-project.org/ Martin Maechler, ETH Zurich __ R-help@r-project.org

Re: [R] Error loading DCluster

2007-10-03 Thread Martin Maechler
ks in advance. you're welcome BL> Regards BL> Birgit BL> Birgit Lemcke Institut f�r Systematische Botanik BL> Zollikerstrasse 107 CH-8008 Z�rich Switzerland Ph: BL> +41 (0)44 634 8351 [EMAIL PROTECTED] Best regards from about 2km's away. Martin Maec

Re: [R] Matrix package installation problem

2007-10-05 Thread Martin Maechler
> "JMB" == Jean Marie Beduin <[EMAIL PROTECTED]> > on Fri, 05 Oct 2007 09:10:11 +0200 writes: JMB> I need some help yes JMB> I try to install the following package: Matrix_0.999375-2.tar.gz JMB> I have the needed package and R version. JMB> My operating sytem is linux

Re: [R] Is it possible to modify the position of the graphic window ?

2007-11-07 Thread Martin Maechler
> "RT" == Rolf Turner <[EMAIL PROTECTED]> > on Wed, 7 Nov 2007 09:57:12 +1300 writes: RT> On 7/11/2007, at 9:12 AM, Prof Brian Ripley wrote: >> 1) Did you merge the resources or restart X? You need to >> in order to get new resources to be recognized. >> >> xrdb

Re: [R] Graphics devices: windows() and x11() vs default

2007-11-07 Thread Martin Maechler
tion code, or loading other packages which change it or ... Before you can get more help, we need to see your getOption("device") and probably also sessionInfo() Martin Maechler, ETH Zurich WS> Here are two code snippets: WS> #

Re: [R] strange `nls' behaviour

2007-11-12 Thread Martin Maechler
,5,6,.. I had spent about an hour after Joerg's R-devel posting, and found to be too busy with more urgent matters -- unfortunately forgetting to give *some* feedback about my findings. It may well be that we find that nls() should give an (intelligible) error message in such eval() cases - rat

Re: [R] R: to view the memory - and a quiz

2007-09-12 Thread Martin Maechler
> <[EMAIL PROTECTED]> > on Wed, 12 Sep 2007 03:01:43 +0100 writes: > Hello, I am wondering if it is possible to view what > variables and vairable values are stored in the R > memory. This to enable debugging of R-scripts I write. In simple to moderately small examples,

Re: [R] OSX-specific Bug in randomForest

2024-10-23 Thread Martin Maechler
absolute difference, i.e., if (abs(sum(cutoff) - 1) > .Machine$double.eps || ... and I'd really recommend if (isTRUE(all.equal(1, sum(cutoff))) || Martin Maechler > On 2024-10-23 1:26 a.m., Stevie Pederson wrote: >> Hi, >> >> It appears there

Re: [R] Outputting a difftime object in PASTE or AS.CHARACTER is missing the unit + expand the format options?

2024-10-24 Thread Martin Maechler
> Reuver, B de \(epi\) via R-help > on Wed, 23 Oct 2024 08:11:50 + writes: > Hello, > I was working on an R script using the datediff object, to log certain durations in the data processing. > I ran in to the issue that outputing a datediff object using PASTE will le

Re: [R] Matrix - querying dsCMatrix how to save it

2024-11-11 Thread Martin Maechler
int [1:164107] 0 1 2 3 4 5 6 7 8 9 ... ..@ p : int [1:2001] 0 1 2 3 4 5 6 7 8 9 ... ..@ Dim : int [1:2] 2000 2000 ..@ Dimnames:List of 2 .. ..$ : chr [1:2000] "1" "2" "3" "4" ... .. ..$ : chr [1:2000] "1" "2"

Re: [R] OSX-specific Bug in randomForest

2024-10-25 Thread Martin Maechler
erson >> wrote: >> >> sum(rep(1 / 9, 9)) - 1 # [1] 2.220446e-16 But indeed, it *is* a bug *always* to assume that double precision arithmetic is exact be it in R or not (unless you *know* that all the numbers involved are of the form * 2^k ; k in "around&q

Re: [R] Is there a sexy way ...?

2024-09-27 Thread Martin Maechler
> Chris Evans via R-help > on Fri, 27 Sep 2024 12:20:47 +0200 writes: > Oh glorious!  Thanks Duncan. > Fortune cookie nomination! I don't disagree with the nomination -- thank you, Duncan! However, please note that I'm sure Rolf's was challenged / question was ment to work

Re: [R] Dirichlet kernel requires r to be defined, which is not in the help

2024-09-18 Thread Martin Maechler
> Samuel Granjeaud IR/Inserm > on Sat, 14 Sep 2024 15:55:53 +0200 writes: > Code to reproduce >> kernel("dirichlet") > Error in kernel("dirichlet") : argument "r" is missing, with no default > The help says > r    the kernel order for a Fejer kernel. > Thank

Re: [R] Remove all box around a plot except bottom line (base graphics)

2024-11-28 Thread Martin Maechler
> Michael Dewey > on Thu, 28 Nov 2024 15:27:59 + writes: > Thank you Duncan, I will try that next. > Michael > On 28/11/2024 13:52, Duncan Murdoch wrote: >> On 2024-11-28 8:36 a.m., Michael Dewey wrote: >>> To make the plot clearer I have removed the axes but

Re: [R] [EXT] Mac ARM for lm() ?

2024-11-15 Thread Martin Maechler
> Andrew Robinson via R-help > on Thu, 14 Nov 2024 12:45:44 + writes: > Not a direct answer but you may find lm.fit worth > experimenting with. Yes, lm.fit() is already faster, and .lm.fit() {added to base R by me, when a similar question was asked years ago ...

Re: [R] Weird Behavior of mean

2024-12-13 Thread Martin Maechler
> CALUM POLWART > on Fri, 13 Dec 2024 08:56:15 + writes: > I've not checked the code, but I think that result would > happen if mean uses something like > if (na.rm == TRUE) { # do something to remove the NA's } > And as uses something like > If (na.rm != FA

Re: [R] grDevices::bringToTop is documented but not available: A bug?

2024-11-22 Thread Martin Maechler
lp you (Duncan) mention above should be marked with something like __"Only on Windows"__ Martin -- Martin Maechler ETH Zurich and R Core team > On 2024-11-20 1:09 p.m., re...@meer.net wrote: >> >> >> There is help for grDevices::bringT

Re: [R] Weird and changed as.roman() behavior

2025-01-16 Thread Martin Maechler
> Stephanie Evert > on Wed, 15 Jan 2025 13:18:03 +0100 writes: > Well, the real issue then seems to be that .roman2numeric uses an invalid regular expression: >>> grepl("^M{,3}D?C{,4}L?X{,4}V?I{,4}$", cc) >> [1] TRUE TRUE TRUE TRUE TRUE > or >>> grepl("^I{,2}$"

Re: [R] Weird and changed as.roman() behavior

2025-01-16 Thread Martin Maechler
>>>>> Martin Maechler >>>>> on Thu, 16 Jan 2025 12:04:44 +0100 writes: [..] > But there's more: our current help page > https://search.r-project.org/R/refmans/utils/html/roman.html > says >> Only numbe

Re: [R] Extracting specific arguments from "..."

2025-01-08 Thread Martin Maechler
> Sorkin, John > on Tue, 7 Jan 2025 22:03:02 + writes: > Colleagues, > My interest is not in writing ad hoc functions (which I might use once to analyze my data), but rather what I will call a system function that might be part of a package. The lm function is a paradigm

Re: [R] Weird and changed as.roman() behavior

2025-01-15 Thread Martin Maechler
> Jani Välimaa > on Tue, 14 Jan 2025 20:39:19 +0200 writes: > Hello, > I don't know what's changed or how to figure out why as.roman() started > to work different way lately on Mageia Cauldron. Cauldron is the > latest development version of Mageia Linux. > Expect

Re: [R] Number changed weirdly when converting to numeric

2025-03-10 Thread Martin Maechler
> J C Nash > on Sun, 9 Mar 2025 14:19:00 -0400 writes: > This may be way off the mark, but is it possible that the ARM machine is using > the "new" IEEE-754 arithmetic that does not have 80 bit extended? The standard > was changed (in ways to allow non-compliant systems

<    4   5   6   7   8   9