Re: [Rd] re ading SPSS .sav files (PR#13509)

2009-02-13 Thread Peter Dalgaard
UE) And what happens next? RGui crashes? Is it possible to put the file on a webpage (or maybe a subset showing the same syptoms)? Without it, the problem is not really reproducible by anyone but you. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ ---

Re: [Rd] One more note

2009-02-09 Thread Peter Dalgaard
y. The most obvious reason would be if Tcl/Tk support is not available on your system (a) Which system? (b) Do you have > capabilities("tcltk") tcltk TRUE -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics

Re: [Rd] Bug in the parser (?) (PR#13504)

2009-02-05 Thread Peter Dalgaard
you try deparsing it: > quote(`if`(x,1,2)) if (x) 1 else 2 Redefining "if" is a really Bad Idea, excepting things like code analysis tools (which I believe are the main reason it is not explicitly forbidden). -- O__ Peter Dalgaard Øster Farimag

Re: [Rd] Side-effects of require() vs library() on x86_64 aka amd64

2009-01-31 Thread Peter Dalgaard
ft the effect of a memory bug to a completely different point in space an time. -- O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 3532791

Re: [Rd] (PR#8192) [ subscripting sometimes loses names

2009-01-31 Thread Peter Dalgaard
extracting the relevant names would just be unnecessary red tape, I'd say that we can do without it. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenha

Re: [Rd] FW: [R] The Quality & Accuracy of R

2009-01-25 Thread Peter Dalgaard
when in fact the most recent one had two. This kind of authoritative document itself needs a verification process to ensure that it is correct. Best, -pd Best regards, Bob -Original Message- From: Peter Dalgaard [mailto:p.dalga...@biostat.ku.dk] Sent: Saturday, January 24, 2009 4:53 AM To: Mu

Re: [Rd] [Q] R CMD check signals error on code that works from UI

2009-01-15 Thread Peter Dalgaard
t;> ## :WHY: The following kills R CMD check but runs fine on console. >> foos <- c("aaa", "bbb", "ccc") >> cat(sapply(foos, >>function(foo) { >>sprintf("name: %-18s upper: %s\n", >>

Re: [Rd] Apparant bug in binomial model in GLM (PR#13434)

2009-01-07 Thread Peter Dalgaard
n't help notice that it is off by a factor of at least 10, since the experiment has only 1024 outcomes, two of which are as extreme as the one observed, and where all outcomes are equally likely under the corresponding y~1 model. -p -- O__ Peter Dalgaard Øster Farimag

Re: [Rd] Apparant bug in binomial model in GLM (PR#13434)

2009-01-06 Thread Peter Dalgaard
andable. > > Kind regards, Søren > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept.

Re: [Rd] Bug report in foreign library (PR#13425)

2009-01-03 Thread Peter Dalgaard
ds, Autoloads, package:base Nicholas Horton Department of Mathematics and Statistics, Smith College Clark Science Center, Northampton, MA 01063-0001 http://www.math.smith.edu/~nhorton __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/list

Re: [Rd] Misuse of $$ in Rd files

2008-12-19 Thread Peter Dalgaard
can see that I have \eqn{\mu}g/l in other places, but that comes out as "mug/l" which looks like an inverted measure for coffee cups. I probably gave up deciding a good incantation for "microgram per liter" in text mode. Possibly \eqn{\mu}{u} is the best on can do. -- O_

Re: [Rd] [R] "Error: bad value" problem

2008-12-18 Thread Peter Dalgaard
Martyn Plummer wrote: > On Thu, 2008-12-18 at 10:57 +0100, Peter Dalgaard wrote: >> Martyn Plummer wrote: >>> This has all the hallmarks of a bug I found and fixed in R-devel >>> (r46998). I did not port the patch over to the R release branch because >&g

Re: [Rd] [R] "Error: bad value" problem

2008-12-18 Thread Peter Dalgaard
trigger some maintainer-mode activity, and did trip up my Fedora laptop slightly. H -p Martyn On Wed, 2008-12-17 at 22:07 -0500, Duncan Murdoch wrote: On 17/12/2008 9:47 PM, Duncan Murdoch wrote: On 17/12/2008 8:56 PM, Peter Dalgaard wrote: Ben Bolker wrote: I can get

Re: [Rd] [R] "Error: bad value" problem

2008-12-17 Thread Peter Dalgaard
_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph

Re: [Rd] re ad.spss (foreign) conflict with SPSS 17 files.

2008-12-14 Thread Peter Dalgaard
ves the iconv message. The warnings appear to be harmless. In fact, reencode="ascii" works for me as well on the Tomato.sav file. However as far as I can google, Code Page 65001 _is_ UTF-8... -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'

Re: [Rd] repeat bug report: as.factor argument to row / col fails if NULL dimnames

2008-12-12 Thread Peter Dalgaard
t this to r-bugs, as I'm concerned that not locating it in the bug tracker could be my failing. D -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Den

Re: [Rd] Checking your package's help files

2008-12-07 Thread Peter Dalgaard
Prof Brian Ripley wrote: 3) Grep the installed help for internal constructs, e.g. grep nornal-bracket /help/* I see that you're following the time-honored empirical law, that every spelling flame contains at least one misteak itself... -- O__ Peter Dalgaard

[Rd] Bug repo may have stalled

2008-12-01 Thread Peter Dalgaard
O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45

Re: [Rd] parallel build for package? (equivalent of make -j8)

2008-11-30 Thread Peter Dalgaard
to do this. Platform? Does MAKE="make -j8" R CMD INSTALL ... not work? (Beware: Here there be Tygers. Parallel makes have their surprises) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO B

Re: [Rd] Wishlist: fix error in documentation for body<- (PR#13318)

2008-11-21 Thread Peter Dalgaard
2 > body(f) <- list(expression(2+2)) > f function () expression(2 + 2) BTW: Don't use 'wishlist' on things that are real errors. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 10

Re: [Rd] assign("FALSE", TRUE)

2008-11-18 Thread Peter Dalgaard
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 have li

Re: [Rd] assign("FALSE", TRUE)

2008-11-17 Thread Peter Dalgaard
olumn names in data frames). If you start disallowing some of them again, well, that way lies madness! -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

Re: [Rd] assign("FALSE", TRUE)

2008-11-17 Thread Peter Dalgaard
<- pi > 2+2 [1] 4 so that two and two remains four for any value of `2`. You can't do 2<-pi anymore than you can do FALSE<-foo. This is clearly not a very important issue, but it might bear some thinking about. -- O__ Peter Dalgaard Øster Farimagsgade

Re: [Rd] stringsAsFactors = FALSE

2008-11-17 Thread Peter Dalgaard
ample using expand.grid, writing the data to a file with write.table and reading it back in during lecture with read.table. Odds ratio turned upside down... -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1

Re: [Rd] is.matrix

2008-11-11 Thread Peter Dalgaard
hadley wickham wrote: | is.matrix| returns |TRUE| if |x| is a matrix and has a |dim | attribute of length 2) and |FALSE| otherwise That's confusing! In what situations is x a matrix but does not have a dim attribute? Hadley Yes, I suspect a typo there. -- O__ Peter Dal

Re: [Rd] is.matrix

2008-11-11 Thread Peter Dalgaard
trix() returns TRUE if and only if the argument has a two-dimensional 'dim' attribute, and > dim(a) NULL > dim(t(a)) [1] 1 3 > dim(t(t(a))) [1] 3 1 (And is.array() depends on having a 'dim' attribute of positive length, so > dim(a) <- 3 > is.matrix(a) [1] F

Re: [Rd] Axis gives error message (PR#13259)

2008-11-06 Thread Peter Dalgaard
you well enough to expect that you'd come up with a patch for axis.date... The issue is that it is clipping the "at" values z <- z[z >= range[1] & z <= range[2]] but not the corresponding "labels". A slight complication is that labels can be absent

Re: [Rd] [R] Building with MKL on Ubuntu

2008-11-05 Thread Peter Dalgaard
c, and looking at the code, there's a fuzz of 1e-10 which would seem to be about 1e5 times larger than required. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- Univ

Re: [Rd] possible tcltk event loop problem

2008-11-03 Thread Peter Dalgaard
hat function: Message <- function(message, type=c("note", "error", "warning")){ Sys.sleep(0.01) .message <- MessagesWindow() if (!missing(message)) { tkinsert(.message, "end", paste("\n", message, "\n")) tkyview.mo

Re: [Rd] *** buffer overflow detected ***: /usr/lib64/R/bin/exec/R terminated on R 2.6.2 to 2.8.0: logging a bug?

2008-10-31 Thread Peter Dalgaard
Prof Brian Ripley wrote: > On Fri, 31 Oct 2008, Peter Dalgaard wrote: > >> Corrado wrote: >>> I apologise The dsn is not empty, the database the dsn connects >>> to is >>> empty! >>> >>> You get the same error when connecting to a popu

Re: [Rd] *** buffer overflow detected ***: /usr/lib64/R/bin/exec/R terminated on R 2.6.2 to 2.8.0: logging a bug?

2008-10-31 Thread Peter Dalgaard
tainer might know, though, so wait for him to chime in. -p > > Regards > > > On Friday 31 October 2008 12:26:39 Peter Dalgaard wrote: >> Corrado wrote: >>> Dear friends, >>> >>> there is a serious problem with RODBC on R from 2.6.2 to 2.

Re: [Rd] *** buffer overflow detected ***: /usr/lib64/R/bin/exec/R terminated on R 2.6.2 to 2.8.0: logging a bug?

2008-10-31 Thread Peter Dalgaard
tInfo+0xbb)[0x2ad38c393a9b] -- > OS: Mandriva 2008.1 x86_64 > Postgresql: 8.3.1 (PostGIS enabled) > R: from 2.6.2 from repository to 2.8.0 repackaged > > Is it my doing, or R's doing? (R-help snipped) It looks like that the problem is in the RODBC package, so the mainta

Re: [Rd] R books: self-serving question

2008-10-29 Thread Peter Dalgaard
Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45) 353

Re: [Rd] pairwise.wilcox.test for paired samples

2008-10-25 Thread Peter Dalgaard
Matthias Kohl wrote: Dear R Core, pairwise.wilcox.test does not handle "paired = TRUE" correctly; e.g. The line wilcox.test(xi, xj, ...)$p.value should read wilcox.test(xi, xj, paired = paired, ...)$p.value Yes, fixed now. Thanks. -pd -- O__ ---- Pete

Re: [Rd] Possible GPL Violation

2008-10-22 Thread Peter Dalgaard
ng become a "derivative work"?), but I don't think this is a good case to test them out. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen

Re: [Rd] R 2.8.0 qqnorm produces error with object of class zoo?

2008-10-22 Thread Peter Dalgaard
o method I mentioned qqnorm works with zoo; however, I think rank needs to be fixed in R to make use of xtfrm as well since I would have expected that supplying an xtfrm method for zoo would be sufficient to get both order and rank to work without giving errors. Also note that rank is not generic.

Re: [Rd] R 2.8.0 qqnorm produces error with object of class zoo?

2008-10-22 Thread Peter Dalgaard
Gabor Grothendieck wrote: > On Wed, Oct 22, 2008 at 8:49 AM, Peter Dalgaard > <[EMAIL PROTECTED]> wrote: > >> Pfaff, Bernhard Dr. wrote: >> >>> It seems, that in my previous emails the attached output files got deleted, >>> hence these are no

Re: [Rd] R 2.8.0 qqnorm produces error with object of class zoo?

2008-10-22 Thread Peter Dalgaard
t;> >> qqnorm() produces an error: >> >> >>> qqnorm(daxr) >>> >> Fehler in if (xi == xj) 0L else if (xi > xj) 1L else -1L : >> Argument hat Länge 0 >> Calls: qqnorm ... xtfrm.default -> as.vector -> rank -> switch -> .gt >>

Re: [Rd] Wrong behavior of lines.survfit for conf.int="only" (PR#13180)

2008-10-20 Thread Peter Dalgaard
} Should be if (conf.int=='only') { conf.int <- TRUE plot.surv<- FALSE } --Brian Diggs -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] Configure error when compiling on "sh" architecture

2008-10-16 Thread Peter Dalgaard
ds like Bad Luck... Anyways, as you probably know, we're deep in code freeze for 2.8.0 on Monday. -p Thanks, ~tom __ R-devel@r-project.org mailing list https://stat.et

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Peter Dalgaard
kages() ? Dirk Hmm, some of us are wary of running update.packages() in non-production versions. Is the problem perhaps originating in getCRANmirors() or chooseCRANmirror()? -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO

Re: [Rd] doc/manual/Rfaq.css missing in R 2.8.0 (20081005) tarball

2008-10-05 Thread Peter Dalgaard
g from DISTFILES in Makefile.in. Should pop up in tomorrows tarball. (This is why I keep telling people to use tarballs rather than SVN checkouts for test builds and binary distributions.) -p -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_

Re: [Rd] weird behavior of drop1() for polr models (MASS)

2008-09-30 Thread Peter Dalgaard
fl+Type+Infl:Type and Type+Infl:Type are just two parametrizations of the same model. Try summary(house.plr2) summary(update(house.plr2,~.-Type)) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 209

Re: [Rd] Bug? in some package installations when a Print is added in memory.c

2008-09-27 Thread Peter Dalgaard
you problem. It's just to make the point.) The fix could be to conditionalize your test prints on something (an environment variable, or if you can access flags set by --slave) or just not use the hacked version for package installation. -- O__ Peter Dalgaard Øster F

Re: [Rd] R --interactive and readline() creates infinite loop

2008-09-25 Thread Peter Dalgaard
file at one time. Hmmno... You can "cat -" multiple times if you want, terminating each with ctrl-D. That's not to say that it is the optimal solution though. Echoing the non-keyboard input seems a bit tricky, for instance. -- O__ Peter Dalgaard Øster Farimagsga

Re: [Rd] R --interactive and readline() creates infinite loop

2008-09-25 Thread Peter Dalgaard
parse and eval. > I assumed that the point was to allow some code to run, possibly with user input, and then continue in an interactive session. It is, BTW, not clear to me whether or not it could be done using .First(). -- O__ Peter Dalgaard Øster Farimagsgade 5,

Re: [Rd] R --interactive and readline() creates infinite loop

2008-09-25 Thread Peter Dalgaard
ord Street >> LONDON WC1N 1EH >> United Kingdom >> >> t | +44 (0)20 7905 2708 >> f | +44 (0)20 7905 2358 >> w | www.homepages.ucl.ac.uk/~sejjjd2/ >> >> __ >> R-devel@r-project.org mailing list >> htt

Re: [Rd] function can permanently modify calling function via substitute?

2008-09-23 Thread Peter Dalgaard
ry.me, raw.mycall[[2]] has NAMED == 1 both before and after the `[[<-` line. On subsequent calls it has NAMED == 2 before and NAMED == 1 after. If I follow how NAMED is used, this seems relevant. Yes and no. This does sound like a bug and NAMED is likely involved, but I don't think r

Re: [Rd] family="mono" does not work (PR#12931)

2008-09-20 Thread Peter Dalgaard
n/listinfo/r-devel This seems to be specific to the Windows driver. I see it in R running under Wine on Fedora, but not in native R (X11), and not in the pdf driver either, even when run via Wine. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_

Re: [Rd] aggregate() does not return POSIXct object correctly (PR#12887)

2008-09-16 Thread Peter Dalgaard
of class is documented on ?tapply. The root cause is unlist(): > tapply(dat[["time"]],dat$event,min,simplify=FALSE) $A [1] "2008-01-01 CET" $B [1] "2008-01-04 CET" > unlist(tapply(dat[["time"]],dat$event,min,simplify=FALSE)) A B 1199142

Re: [Rd] odesolve dynload example

2008-09-15 Thread Peter Dalgaard
t I have not got set up properly? What do I need to do to get this firing? Advice appreciated. I'm a bit rusty on the windows tools, but it looks like mymod.o and mymod_res.rc not being made above. Any chance that you have old versions lying around? -- O__ Peter Dalg

Re: [Rd] Different result with different order of binding (PR#12742)

2008-09-08 Thread Peter Dalgaard
rd for scientific computing!! > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics

Re: [Rd] Moving to a new bug reporting system?

2008-09-02 Thread Peter Dalgaard
h bug reports -- we can echo repository changes to the list, but feeding followups back in requires manual intervention or that we tell people not to reply but to go to the repository if they have anything to add. On the other hand, that seems to be what "everyone else" is doing these

Re: [Rd] coxph function (Survival Library) (PR#12638)

2008-08-29 Thread Peter Dalgaard
een education levels with countries). There's no indication that base 10 logs are used anywhere, so where would a factor of ln(10) creep in? -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(

Re: [Rd] Security issue with javareconf script (PR#12636)

2008-08-29 Thread Peter Dalgaard
g, not execute it). . Oh, sh*! This is not portable! Needs code like INSTALL. Will refix. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of

Re: [Rd] rc note, etc

2008-08-21 Thread Peter Dalgaard
Prof Brian Ripley wrote: On Thu, 21 Aug 2008, Peter Dalgaard wrote: I'm somewhat puzzled by the strange characters in the glm.fit message, though. Looks like a mailer issue: from the headers it seems that was sent in base64 and has (at least for me) be decoded to 8-bit even though it

Re: [Rd] rc note, etc

2008-08-21 Thread Peter Dalgaard
utre que le ou les destinataires désignés est interdite. Si vous recevez ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans délai à l'expéditeur un message électronique pour l'aviser que vous avez éliminé de votre ordinateur toute copie du courriel reçu. ___

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

2008-08-21 Thread Peter Dalgaard
Martin Maechler wrote: >>>>>> "PD" == Peter Dalgaard <[EMAIL PROTECTED]> >>>>>> on Wed, 20 Aug 2008 17:06:36 +0200 writes: >>>>>> > > PD> Prof Brian Ripley wrote: > >>

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

2008-08-20 Thread Peter Dalgaard
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 CRAN mirror for use in this session --- >> [..

[Rd] Outdated dependencies and install.packages()

2008-08-20 Thread Peter Dalgaard
trix(≥ 0.999375-11), lattice <http://cran.r-project.org/web/packages/lattice/index.html> Looks like we're either not checking the version requirement of dependencies, or something is making 4 > 11... (from my reading of the code, it is the former, but I could have missed something). We

Re: [Rd] ifelse

2008-08-18 Thread Peter Dalgaard
sing the extraction rules, that is by an NA of the appropriate class for an atomic vector (0 for raw vectors) and NULL for a list. " Thus: class(rep(character(0), length.out = length(TRUE))) [1] "character" which shows that the NA that is returned is of class character, which is

Re: [Rd] R-beta does not install on FreeBSD

2008-08-17 Thread Peter Dalgaard
Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45) 353

Re: [Rd] Bug repository awakening

2008-08-07 Thread Peter Dalgaard
Marc Schwartz wrote: on 08/07/2008 05:23 PM Peter Dalgaard wrote: Martin Maechler wrote: "PD" == Peter Dalgaard <[EMAIL PROTECTED]> on Thu, 07 Aug 2008 11:43:50 +0200 writes: PD> Looks like reports from the last month are trickling PD> in. 1

Re: [Rd] Bug repository awakening

2008-08-07 Thread Peter Dalgaard
Martin Maechler wrote: "PD" == Peter Dalgaard <[EMAIL PROTECTED]> on Thu, 07 Aug 2008 11:43:50 +0200 writes: PD> Looks like reports from the last month are trickling PD> in. 170 of them in incoming, but there's a lot of PD> spam. I

[Rd] Bug repository awakening

2008-08-07 Thread Peter Dalgaard
Looks like reports from the last month are trickling in. 170 of them in incoming, but there's a lot of spam. I hope Martin's spamfilters are less leaky that ours, so that they get killed en route to r-devel -- O__ ---- Peter Dalgaard Øster Farimagsgade 5,

Re: [Rd] the C function drawing a rectangle: heatmap() -> image()-> do_image() -> GRect() -> GERect() -> rect()

2008-07-26 Thread Peter Dalgaard
aoyuan - 发件人:Peter Dalgaard 发送日期:2008-07-26 15:56:39 [EMAIL PROTECTED] 抄送:R-devel Mailing List 主题:Re: [Rd] the C function drawing a rectangle: heatmap() -> image()-> do_image() -> GRect() -> GERect() -> rect() Zhaoyuan Fang wrote: Hello anyone used

Re: [Rd] the C function drawing a rectangle: heatmap() -> image() -> do_image() -> GRect() -> GERect() -> rect() -> do_rect() -> GRect() ??

2008-07-26 Thread Peter Dalgaard
any thanks! https://stat.ethz.ch/mailman/listinfo/r-devel I see GRect() calling GERect() calling dd->dev->rect(), i.e. a function in the current device structure. This will typically have been set to something like X11_Rect() or Cairo_Rect() or --

Re: [Rd] Is text(..., adj) upside down? (Or am I?)

2008-07-22 Thread Peter Dalgaard
adj behaviour is consistent in 2.6.0ff and for expressions as well as text] Perhaps a two-word correction to ?text ? You're just confused: TOP adjusted text is BELOW bottom-adjusted text. RIGHT adjusted text to the LEFT of left-adjusted text. See? -- O__ Peter Dalgaard

Re: [Rd] [[ vs. .subset2

2008-07-05 Thread Peter Dalgaard
t4 <- function(pf = parent.frame()) {pf;BOD[[pf$idx]]} > test4() [1] 8.3 10.3 19.0 16.0 15.6 19.8 -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

[Rd] Bug repository down Friday

2008-07-03 Thread Peter Dalgaard
There needs to be a physical relocation of servers tomorrow (email and home directories), so things are likely to be dysfunctional for the day (hopefully not more). I'll be out of email reach myself, for the same reason. -- O__ Peter Dalgaard Øster Farimagsgade 5, E

Re: [Rd] --enable-BLAS-shlib conflict with --with-lapack in configure?

2008-07-03 Thread Peter Dalgaard
as an optimized, shared BLAS/Lapack, and it is probably faster than an unoptimized, shared one (well, at least you could create them when I played with this some years ago). It's just that people think it is a bit silly, so they are not doing it for you, and as I recall it, you also need t

Re: [Rd] get ...

2008-06-28 Thread Peter Dalgaard
> evalq(list(...),e) $a [1] 1 $b [1] 2 -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROT

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

2008-06-26 Thread Peter Dalgaard
} __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- Univer

[Rd] 2.7.1 scheduled for JUNE 23

2008-06-12 Thread Peter Dalgaard
, and the tarballs can be picked up at http://cran.r-project.org/src/base-prerelease/ a little later. Binary builds are expected to appear starting Monday 16 at the latest. For the Core Team Peter Dalgaard -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B

[Rd] 2.7.1 scheduled for November 26

2008-06-12 Thread Peter Dalgaard
-project.org/src/base-prerelease/ a little later. Binary builds are expected to appear starting Monday 16 at the latest. For the Core Team Peter Dalgaard -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box

Re: [Rd] R and Gnumeric

2008-06-09 Thread Peter Dalgaard
zero regression coefficients. The resulting R^2 is directly related to the F statistic, which you'll see is also larger and more significant when the intercept is removed. BTW: lm(mydata$Y~mydata$X) is bad practice, use lm(Y~X, data=mydata). Use of predict() will demonstrate why. --

Re: [Rd] table(factor(x), exclude=NULL) (PR#11494)

2008-05-28 Thread Peter Dalgaard
and non-factors, so I'm not just implementing it right away. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 3532

Re: [Rd] Double HTML encoding in R Bug Tracking Submission form (PR#11517)

2008-05-25 Thread Peter Dalgaard
se for the R Core Team to make major changes to its internals. We've been wanting to move to something more mainstream for quite a while, but it takes some effort to find out how to move all the old pending and resolved reports across. -- O__ Peter Dalgaard Øster Farimag

Re: [Rd] bug in R 2.7.0 (PR#11497)

2008-05-22 Thread Peter Dalgaard
ying around): R version 2.6.2 alpha (2008-01-29 r44233) .... > parse() ?a expression(a) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~

Re: [Rd] ** operator

2008-05-15 Thread Peter Dalgaard
be there somewhere!!! > > Is there a clue in: > >> "^"(5, 2) > [1] 25 >> "**"(5, 2) > Error: could not find function "**" >> 5 ^ 2 > [1] 25 >> 5 ** 2 > [1] 25 > > that is, it is truly obfuscated and not accessible using con

Re: [Rd] R-2.8.0 : get platform device with get(getOption("device"))

2008-05-07 Thread Peter Dalgaard
Thu, 8 May 2008, Peter Dalgaard wrote: Prof Brian Ripley wrote: Please do study the posting guide. This was covered recently: https://stat.ethz.ch/pipermail/r-devel/2008-April/049319.html Nevertheless, perhaps an explicit NEWS entry could be warranted, something like oThe "d

Re: [Rd] R-2.8.0 : get platform device with get(getOption("device"))

2008-05-07 Thread Peter Dalgaard
R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.et

Re: [Rd] R-2.8.0 : get platform device with get(getOption("device"))

2008-05-07 Thread Peter Dalgaard
tbl, col="green", type="b") Error in get(getOption("device")) : invalid first argument Calls: show.pr -> get Execution halted How can I change this code so that it works fine with R 2.8.0? Use dev.new() instead of that construct. -- O__ Peter Dalga

Re: [Rd] error with R-patched (2008-05-02 r45591)

2008-05-04 Thread Peter Dalgaard
.R -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED])

Re: [Rd] error with R-patched (2008-05-02 r45591)

2008-05-04 Thread Peter Dalgaard
95 -- Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medicine 15032 Hunter Court, Westfield, IN 46074 (317) 490-5129 Work, & Mobile & VoiceMail (317) 663-0513 Home (no voice mail please) ****** ---

Re: [Rd] zero variance in part of a glm (PR#11355)

2008-05-04 Thread Peter Dalgaard
uasibinomial family taken to be 1.306703) =20 Null deviance: 506.602 on 35 degrees of freedom Residual deviance: 37.851 on 27 degrees of freedom AIC: NA =20 Number of Fisher Scoring iterations: 5 =20 # Now the standard errors are all well-behaved =20 =20 [[alternative HTML

Re: [Rd] R_DEFAULT_DEVICE (PR#11294)

2008-04-28 Thread Peter Dalgaard
; version.string = R version 2.7.0 (2008-04-22) > > Locale: > [EMAIL PROTECTED];LC_NUMERIC=C;[EMAIL > PROTECTED];LC_COLLATE=C;LC_MONETARY=C;[EMAIL PROTECTED];[EMAIL > PROTECTED];LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;[EMAIL > PROTECTED];LC_IDENTIFICATION=C > > Search Path: > .GlobalEnv, package:stats, pac

Re: [Rd] Bug in R 2.7 for over long lines (crasher+proposed fix!) (PR#11281)

2008-04-26 Thread Peter Dalgaard
ly as the strncpy manpage suggests do this for all > occurrences of strncpy > > strncpy(buf, str, n); >if (n > 0) >buf[n - 1]=3D =E2=80=99\0=E2=80=99; > > this could even be made a makro / helper function ... > > And anoth

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

2008-04-25 Thread Peter Dalgaard
, would pretty quickly go nuts if ?par suddenly didn't work the way we're used to. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

Re: [Rd] Fortran underscore problem persists on Linux x86/64 (PR#11206)

2008-04-20 Thread Peter Dalgaard
certainly not expecting Ubuntu 7.07 to be using g77, so we need > the same details from Thomas Petzoldt. Is this perhaps an installation issue (missing gfortran)? more `R RHOME`/etc/Makeconf should tell you which compilers R itself was built with. In my experience, it just doesn't wor

Re: [Rd] AddComment (gram.y)

2008-04-20 Thread Peter Dalgaard
th the former or the latter expression? And what about plot( x=foo, # abscissa y=bar # ordinate ) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmar

Re: [Rd] 2.7.0 RC (2008-04-19 r45391) package.skeleton LazyLoad incorrect

2008-04-19 Thread Peter Dalgaard
Martin Morgan wrote: > package.skeleton inserts a lowercase second l in LazyLoad, so that the > package is not, in fact, lazy loaded. > > Martin > Fix committed. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics

Re: [Rd] segments() with zero-length arguments (PR#11192)

2008-04-17 Thread Peter Dalgaard
ty"), >>lwd = par("lwd"), ...) { >>if (length(x0)==0 && length(y0)==0 && length(x1)==0 && length(y1)==0) >> return(invisible(NULL)) >>.Internal(segments(x0, y0, x1, y1, col = col, lty = lty, lwd = lwd, ...)) >

Re: [Rd] Doing the right amount of copy for large data frames.

2008-04-14 Thread Peter Dalgaard
> ## dd1 below could possibly be created by read.table or scan and data.frame > dd1 <- data.frame(xx = rnorm(nn), yy = rnorm(nn)) > dd2 <- new('DataFrame', data = dd1) > rm(dd1) > ## Now work with dd2 > > > Thanks a lot, > Gopi Goswami. > PhD, Statis

Re: [Rd] autocompletion problem

2008-04-09 Thread Peter Dalgaard
x-gnu > > locale: > LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C > > attached base packages: > [1]

Re: [Rd] tests Rin and Rout

2008-04-05 Thread Peter Dalgaard
]$ grep -i version ISwR/DESCRIPTION Version: 2.0-0 [EMAIL PROTECTED] ISWR]$ grep -i version ~/Rlibrary/ISwR/DESCRIPTION Version: 2.0-0 > Thanks > > Christophe > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/ma

Re: [Rd] by "infelicity"

2008-04-03 Thread Peter Dalgaard
tFactor, FUN = median) # error > # Error in median.default(data[x, ], ...) : need numeric data > The infelicity (if any) is not in by(). Try mean(airquality) median(airquality) The FUN in by() is applied to the subsetted data frame, and there is no median.data.frame method. -- O__ Peter

Re: [Rd] Misc/List Search Path from keyboard (PR#11036)

2008-03-27 Thread Peter Dalgaard
re's another S earlier in the misc menu ("_S_top current computation"), so presumably the search path should move to another key (P, say). -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] S4 slot with NA default

2008-03-26 Thread Peter Dalgaard
(the real application has other slots too). I can > use "NaN", which is numeric: > > > > setClass > ("foo",representation=representation(x="numeric"),prototype=list(x=NaN)) > [1] "foo" > > > > But this is not

Re: [Rd] Incorrect behavior in 64-bit version (PR#11034)

2008-03-25 Thread Peter Dalgaard
setup. This has all the hallmarks of a math header file error (either args or return value declared of the wrong type), or a linker issue (log not really log). I surely hope it fails "make check"! So, exactly what did you do, which compiler and build tools and which version? Did you

<    4   5   6   7   8   9   10   11   12   13   >