Re: [Rd] Wishlist: strwidth allow for rotation of text (PR#7931)

2005-06-11 Thread murdoch
d "yA" after a 45 degree rotation (the first is wider), but I think it will be hard to get that right. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Rgui bug in Windows: leftover download dialog (PR#7964)

2005-06-22 Thread murdoch
s(a, 'c:/temp') Then, during a particularly long download, switch to the console window and hit ESC. This affects R-devel, as well as 2.1.1. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Rgui bug in Windows: leftover download dialog (PR#7964)

2005-06-23 Thread murdoch
evel and R-patched. I also set it so the dialog retains its position if you move it out of the way; it was pretty irritating to have it pop up in the middle of the screen every time in a multiple file download. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Objects and regex (PR#7970)

2005-06-26 Thread murdoch
[EMAIL PROTECTED] wrote: > Full_Name: Rafal Kustra > Version: 2.1.0 > OS: Linux > Submission from: (NULL) (64.229.198.89) > > > objects(pattern="^genes?$") returns "generateSigma" among other legal things. Not for me in Windows. (And 2.1.0 isn't th

Re: [Rd] symbol.For problem? (PR#7974)

2005-06-27 Thread murdoch
u're asking for the translation to be done twice. Is this documented somewhere as something that should work? Duncan Murdoch > > The function 'add' is a R wrapper to a simple fortran 77 subroutine that adds > two numbers. > In 'add' the .Fortran call

Re: [Rd] lowess output looks wrong (PR#7891)

2005-07-05 Thread murdoch
Just noticed nobody has commented on this, so I took a look, and I can't see the problem (2.1.0 looks the same as 2.1.1 to me). What is supposed to be wrong? Duncan Murdoch On 5/23/2005 2:35 PM, [EMAIL PROTECTED] wrote: > Full_Name: Carl Pelz > Version: 2.1.0 & 2.0.1 >

[Rd] Sweave resource leak: leftover temp files (PR#7998)

2005-07-08 Thread murdoch
Harold, I've taken a closer look at your example and I'd call this an Sweave bug. It creates tempfiles each time you run it, and doesn't delete them at the end. For example: > list.files(tempdir()) character(0) > testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils") > Sw

Re: [Rd] Packages | Install >Cancel gives error msg in Windows GUI (PR#8002)

2005-07-08 Thread murdoch
not worth my time to fix. I'll move this bug report to the wishlist. If someone wants to submit a patch to fix it, I'll look at it. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Sweave resource leak: leftover temp files (PR#7998)

2005-07-12 Thread murdoch
don't see the R unlink being called. Generally deletes fail on Windows when files are locked, e.g. open for reading or writing. I haven't seen Windows file deletes fail in other circumstances, so I suspect this was an R, MinGW or MSVCRT bug rather than a Windows bug. Duncan Murdoc

Re: [Rd] Sweave resource leak: leftover temp files (PR#7998)

2005-07-12 Thread murdoch
On 7/12/2005 8:58 AM, Prof Brian Ripley wrote: > On Tue, 12 Jul 2005, Duncan Murdoch wrote: > >> Prof Brian Ripley wrote: >>> This is actually a Windows bug. Those files are unlink()ed, and it seems >>> Windows is not respecting that (not an unknown phenome

Re: [Rd] R CMD problem on windows XP (PR#8031)

2005-07-24 Thread murdoch
t; and there it stopped, while the following works: That's not a bug. You asked it to build two packages: one called binary, one called ./../library/tseriesChaos. The first build failed, so it stopped. Duncan Murdoch > > C:\R\rw2011\src\gnuwin32>Rcmd build --binary ./../library

Re: [Rd] valgrind complains about regex.c (PR#8043)

2005-08-02 Thread murdoch
the write harmless? I suspect this may be the bug I fixed on July 16, since it had to do with character classes including ranges (like Charlie's "[a-pr-z]"). Charlie, have you tried a recent version of R-patched? Duncan Murdoch > > On an un-optimized build of R I am unable t

Re: [Rd] Invalid Page fault in R.dll in mouse click (PR#8055)

2005-08-07 Thread murdoch
to reproduce the error even if you document it perfectly. If I can't reproduce it I won't attempt to fix it. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Shutdown by to much data (PR#8065)

2005-08-15 Thread murdoch
it that. If you can, write it out to a file, and see if you can read it in. A bug report that is as vague as yours isn't likely to be acted on. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Bug in copying of S4 objects (PR#8112)

2005-08-31 Thread murdoch
ot;, 2)) > y An object of class "foo" Slot "slot": [1] 2 This happens in the current R-devel in Windows, and R-patched too. > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status Under development (unstable) major2 minor

Re: [Rd] Assigning a zero length vector to a list (PR#8157)

2005-09-26 Thread murdoch
On 9/26/2005 10:29 AM, Peter Dalgaard wrote: > Duncan Murdoch <[EMAIL PROTECTED]> writes: > >> After foo<-list(), foo$bar is NULL, so we can simplify this. >> >> Here's a simpler version: >> >> # These work, which is a bit of a surprise, but

Re: [Rd] constrOptim (PR#8158)

2005-09-27 Thread murdoch
et3 function (which is called f at this point). So despite your guarantee, I think the bug is in your code, not in R. Duncan Murdoch > Thanks, > > >> On 9/26/2005 6:19 PM, [EMAIL PROTECTED] wrote: >>> Full_Name: Haobo Ren >>> Version: 2.1.1 >>> OS: Windows 20

Re: [Rd] Help page links to index.html are dead (PR#8196)

2005-10-09 Thread murdoch
[EMAIL PROTECTED] wrote: > Full_Name: Kevin Wright > Version: 2.2.0 > OS: windows > Submission from: (NULL) (66.185.0.208) > > > > On the help pages for R is a little circle with an up arrow that links to: > > file:///C:/R/R220/doc/html/index.htmlu That's a typo in Kevin's message: the link i

Re: [Rd] image() with all NAs fails (PR#8228)

2005-10-20 Thread murdoch
s a bit expensive for such a rare case. Maybe the solution is to document this limitation? Users can get the all transparent image by explicitly specifying zlim. Folks who might accidentally pass in all missing data can test for it themselves. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Critical Bug in type conversions: as.integer, trunc, ... (PR#8257)

2005-10-27 Thread murdoch
haviour for floating point values, discussed in the FAQ item on "7.31 Why doesn't R think these numbers are equal?" Duncan Murdoch > > To reproduce: > > expected: >> typeof(3) > [1] "double" > >> as.integer(3) > [1] 3 > > stra

Re: [Rd] Documentation error in online help for print.data.frame (PR#8274)

2005-11-01 Thread murdoch
le, down in the Arguments section it says: > > right: logical, indicating whether or not strings should be >right-aligned. The default is left-alignment. > > This seems to be at odds with the right=TRUE in the Usage, and with what I see > when I pri

Re: [Rd] bug in windows GUI/script editor (PR#8288)

2005-11-08 Thread murdoch
as fixed before the release of 2.2.0, so maybe there's another way to generate the same problem. Could you give more detail: - are you running in the default MDI mode (one big window containing the console, editor, etc.) or SDI mode (separate windows)? - does it matter what was in

Re: [Rd] R: bug in windows GUI/script editor (PR#8288)

2005-11-10 Thread murdoch
On 11/10/2005 8:58 AM, Duncan Murdoch wrote: > On 11/10/2005 3:02 AM, [EMAIL PROTECTED] wrote: > >>SGkgRHVuY2FuLA0KSSBhbSBydW5uaW5nIFIgaW4gTURJIG1vZGUgKHdpdGggbG9jYWxpc2F0 > > > Roberto: > > Something went wrong with your posting -- it came out completely in &g

Re: [Rd] pr[in]comp: predict single observation when data has colnames (PR#8325)

2005-11-18 Thread murdoch
is the line > > newdata <- newdata[, nm] > > in predict.prcomp (line 106 of prcomp.R) and predict.princomp (line 11 > of princomp-add.R), which should probably be > > newdata <- newdata[, nm, drop = FALSE] > Yes, I see the problem, and I agree with your correction. I'll commit a patch. Thanks! Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Windows crash in confint() with nls fit (PR#8428)

2005-12-22 Thread murdoch
ere 4: confint.nls(n1) > where 5: confint(n1) > > I'm not set up to debug compiled code on Windows, and I haven't > been able to reproduce the problem on Linux. I see it in R-devel too. It's in a strcmp; I'll see if I can track down the cause. Duncan Murdoch &g

Re: [Rd] Windows crash in confint() with nls fit (PR#8428)

2005-12-22 Thread murdoch
27;t check. I've fixed the code so now it doesn't crash, but it now dies with this error instead: > confint(n1) ## boom Waiting for profiling to be done... Error in prof$getProfile() : 'control$maxiter' absent I'll commmit my change to R-devel and R-patched shortly

[Rd] .Call not counting parameters consistently (PR#8450)

2005-12-28 Thread murdoch
, and I see that on the second call the "symbol.symbol.call" member is NULL, so no test is done, but I don't see why this is happening. The resolveNativeRoutine function does some strange stuff. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [R] Integer bit size and the modulus operator (PR#8541)

2006-01-30 Thread murdoch
to be allowed any more. I'm somewhat surprised you don't get an error from it. But that's not the cause of the crash. Duncan Murdoch > > This checks if element x is a generator of the group Z_p. If you try > this function for p = 41 and x various increasing values

Re: [Rd] Covariance calculation gives different answer than Excel (PR#13725)

2009-05-27 Thread murdoch
to use n-1 in the denominator. Excel (for their own reasons) uses n, which leads to surprises like var(x) != covar(x, x), because they use n-1 in their variance calculation. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] feature request Windows: open .R script with Rgui.exe from (PR#13811)

2009-07-06 Thread murdoch
e (or convince someone else to do so). One way would be to change the R edit() command so it doesn't wait for you to finish editing; then it could all be done by R code run from your startup file. Duncan Murdoch > > Currently, one has to open Rgui.exe, select "open script",

Re: [Rd] Resizing a named vector crashes R with gctorture(TRUE) (PR#13837)

2009-07-15 Thread murdoch
ducible in today's R-devel build); I've cc'd this reply to r-bugs. I'll take a look and see if I can track it down. > It would be nice to see some reaction from the R developers > about these issues. Thanks in advance! You should post them as bug reports if they are as c

Re: [Rd] Resizing a named vector crashes R with gctorture(TRUE) (PR#13837)

2009-07-15 Thread murdoch
d earlier >> (see https://stat.ethz.ch/pipermail/r-devel/2009-July/054030.html) >> but I can't tell yet whether the 2 issues are related or not. > > That's clearly a bug (reproducible in today's R-devel build); I've cc'd > this reply to r-bugs. I'l

Re: [Rd] [R] Problem With Repeated Use Of Load/Save/Close Commands (PR#13841)

2009-07-18 Thread murdoch
skip the file() and close() calls. If I simplify your script by removing the unnecessary stuff, then it works. That is, this works: junk = 1 PathA= tempdir() conX = paste(PathA,"junk",sep="\\") save(junk, file=conX) for(i in 1:4000){

Re: [Rd] [R] Problem With Repeated Use Of Load/Save/Close Commands (PR#13842)

2009-07-18 Thread murdoch
of connections is unnecessary: load() can work with a > filename. So you can skip the file() and close() calls. > > If I simplify your script by removing the unnecessary stuff, then it > works. That is, this works: > > junk = 1 > PathA= tempdir() > conX = paste(PathA,"junk",sep="\\") > save(junk, file=conX) > for(i in 1:4000){ > load(file=conX) > rm(junk) > cat(" i = ",i,sep=" ") > gc() > zzz = showConnections(all=FALSE) > cat(" zzz = ",zzz,"\n",sep=" ") > } > > So a suggestion for a workaround is simply to follow the pattern above, > rather than that of your demonstration code. > > I'll spend a bit more time and see if I can find what is causing the > open file leak. Now fixed in R-devel, R-patched coming soon. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Wishlist: Navigate to "Index" page of help when no topic (PR#13868)

2009-08-04 Thread murdoch
lain to the package author or maintainer, who should have created a help alias with the package name so that ?survival would give you something useful. But I would guess R 2.10.x or 2.11.x will do that automatically. Duncan Murdoch > Poor Man's Game -=20 > Load new package;=20

Re: [Rd] Wishlist: Navigate to "Index" page of help when no topic (PR#13872)

2009-08-04 Thread murdoch
On 04/08/2009 7:33 PM, Steven McKinney wrote: >> -Original Message- >> From: Duncan Murdoch [mailto:murd...@stats.uwo.ca] >> Sent: Tuesday, August 04, 2009 8:03 AM >> To: Steven McKinney >> Cc: r-de...@stat.math.ethz.ch; r-b...@r-project.org >> Sub

Re: [Rd] [R] Repeatable, But Time Varying R GUI Crash (PR#13880)

2009-08-06 Thread murdoch
of contractors right now, so not a very nice place to work.) I don't know any workaround other than "avoid doing the buggy thing". But I can't tell you what that is Duncan Murdoch > Once you start the function with the "problem2()" command, the function &

Re: [Rd] R on Windows crashes when using certain characters in strings (PR#14137)

2009-12-14 Thread murdoch
On 10/12/2009 4:20 AM, k...@huftis.org wrote: > Full_Name: Karl Ove Hufthammer > Version: 2.10.0 > OS: Windows XP > Submission from: (NULL) (93.124.134.66) > > > I have found a rather strange bug in R 2.10.0 on Windows, where the choice of > characters used in a string make R crash (i.e., Windows

Re: [Rd] ?setGeneric garbled (PR#14153)

2009-12-19 Thread murdoch
On 19/12/2009 8:56 AM, Martin Maechler wrote: >>>>>> "DM" == Duncan Murdoch >>>>>> on Fri, 18 Dec 2009 15:03:26 -0500 writes: > > DM> On 18/12/2009 1:15 PM, Duncan Murdoch wrote: > >> On 18/12/2009 12:54 PM, Martin Mae

Re: [Rd] [R] Suppressing scientific notation on plot axis tick labels (PR#14202)

2010-02-02 Thread murdoch
arplot(x) Looks like some sort of caching bug to me. I don't think I'll have time to track this down; this is a crazy week. I see the same thing in R-devel as in 2.10.1. Duncan Murdoch Version: platform = i386-pc-mingw32 arch = i386 os = mingw32 system = i386, mingw32 s

Re: [Rd] parse error with if else (PR#9551)

2007-03-06 Thread murdoch
(See the language guide, section 3.2.1 "if", around the 4th paragraph.) It arises because R tries to evaluate a statement as soon as it is complete, and if ( 5 > 4 ) cat("ok1") is a complete statement. You can get the behaviour you want by wrapping the whole think in c

Re: [Rd] wishlist -- Fix for major format.pval limitation (PR#9574)

2007-03-20 Thread murdoch
> [1] "0.1""0.3""0.4""0.5""0.3""<0.01" > > > --- > a <- c(0.1, 0.3, 0.4, 0.5, 0.3, 0.0001) > format.pval(a, eps=0.01) But there&#x

Re: [Rd] Fwd: Re: documentation clarifications (PR#9586)

2007-03-28 Thread murdoch
eraction]{interaction} and apparently that kind of link is not currently working in CHTML files. Duncan Murdoch > > Rich > > Original message >>Date: Tue, 27 Mar 2007 19:54:32 -0700 >>From: "Deepayan Sarkar" <[EMAIL PROTECTED]> >>Subject:

Re: [Rd] Fwd: Re: documentation clarifications (PR#9587)

2007-03-28 Thread murdoch
On 3/28/2007 8:50 AM, Duncan Murdoch wrote: > On 3/27/2007 11:36 PM, Richard M. Heiberger wrote: >> I verified that this is a difference in behavior in both the released 2.4.1 >> for Windows >> and the "2.5.0 Under development (unstable) (2007-02-10 r40690)" for Wi

Re: [Rd] integer constants given by hexadecimal notation (PR#9648)

2007-05-01 Thread murdoch
(but won't be able to look into fixing it). Duncan Murdoch > > >> sessionInfo() > R version 2.5.0 (2007-04-23) > i386-pc-mingw32 > > locale: > LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.

Re: [Rd] boxplot and bxp do not respect xlim by default (PR#9754)

2007-06-26 Thread murdoch
han I have time for right now, so I'll leave it for someone else (or for myself in a less busy future, which may exist in some alternate universe). What I'd suggest you do in the short term is simply to set up the plot axes the way you want before calling bxp, then call it with ad

[Rd] trace() problems (PR#10498)

2007-12-06 Thread murdoch
or, things are fine: > trace(sum) > hist(stats::rnorm(100)) # shows about 3-4 calls to sum() trace: sum(2^(opts - 2)) trace: sum(2^(opts - 2)) trace: sum(2^(opts - 2)) trace: sum(counts) trace: sum(2^(opts - 2)) > untrace(sum) Duncan Murdoch __

[Rd] source(echo=TRUE) bug (was: [R] source() behavior I don't understand) (PR#10923)

2008-03-09 Thread murdoch
is echoed in both situations when it begins with a letter other > than "t". Specifically I have tested "tt" and "ttt". Looks like a bug in a regular expression. R doesn't echo lines containing nothing but blanks and tabs, and I think the regular expressi

[Rd] Inaccurate qgamma() (PR#11030)

2008-03-24 Thread murdoch
I haven't looked inside to see what is causing this, but there's a big discontinuity in qgamma: curve(qgamma(x, shape=19), from=1e-10, to=2e-10) This appears in both R-patched and R-devel. Duncan Murdoch __ R-devel@r-project.org mailing

Re: [Rd] cpu usage high with windows change dir / winDialogString (PR#11051)

2008-03-29 Thread murdoch
oes back down again What is the bug here? I'd guess it's not R using the cpu, rather some other process hooked to the dialog, but even if it really is R, why is this a bug? Duncan Murdoch > This also occurs when I incant Help / Apropos or Help / Search help... > or at the "comm

Re: [Rd] non-digits in svnversion output mess up windows build if (PR#11340)

2008-04-29 Thread murdoch
This is not a bug, it's a feature. It stops me from distributing versions with unintentional uncommitted changes. Duncan Murdoch On 29/04/2008 2:30 PM, [EMAIL PROTECTED] wrote: > Full_Name: Bill Dunlap > Version: 2.8.0dev > OS: Windows XP > Submission from: (NULL) (70.98.76.47

Re: [Rd] scoping problem when calling lm(precomputed formula, weights) (PR#11543)

2008-05-30 Thread murdoch
3185 In more complicated cases, you may need to explicitly set the environment of the constructed formula, using e.g. environment(Formula) <- environment() Duncan Murdoch > coef(lm(Formula, data = data, weights = w)) > } > h <- function(k){ > w <- data$z^k >

Re: [Rd] significant digits (PR#9682)

2008-06-03 Thread murdoch
On 6/3/2008 4:36 PM, Simon Urbanek wrote: > On Jun 3, 2008, at 2:48 PM, Duncan Murdoch wrote: > >> On 6/3/2008 11:43 AM, Patrick Carr wrote: >>> On 6/3/08, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >>>> >>>> because signif(0.90, digits=2) == 0

Re: [Rd] [R] RNG Cycle and Duplication (PR#12538)

2008-08-14 Thread murdoch
will return duplicated values." But I find that the cycles are not > the same as the 32-bit integer. > This is no bug. Cycle length and the set of possible values are different concepts. And please don't cross-post. Duncan Murdoch > My test indicated that the cycles for K

Re: [Rd] R echoes integer literals incorrectly, under certain conditions (PR#13205)

2008-10-25 Thread murdoch
omment being echoed when you source a.R because for some reason your system is deparsing instead of going back to the source to read it, but I don't know what'll happen with b.R. Duncan Murdoch > >> sessionInfo() > R version 2.8.0 (2008-10-20) > i386-pc-mingw32

[Rd] Bug in list indexing (PR#13411)

2008-12-22 Thread murdoch
> y <- x[[c(1,1)]] > y[1] <- 3.14159 > x[[c(1,1)]][1] [1] 3.14159 Unfortunately, this exists in today's release of 2.8.1. I should have done this test last week! Duncan Murdoch > sessionInfo() R version 2.8.1 (2008-12-22) i386-pc-mingw32 locale: LC_COLLATE=E

Re: [Rd] Parse-Error creates strange function calls (completely different (PR#13438)

2009-01-08 Thread murdoch
This is not a bug. Read ?paste: if you give it a vector, it will give you a vector result. That's what you're seeing. Duncan Murdoch oli...@first.in-berlin.de wrote: > Full_Name: Oliver Bandel > Version: R version 2.7.1 (2008-06-23) > OS: Linux (Debian Lenny) >

Re: [Rd] 'unique' error message is printed despite silent=TRUE (PR#13547)

2009-02-22 Thread murdoch
ed to wade through leftover never-used DEBUG(x) calls in code when they were reading the source. This is not a common error: as far as I know, there are no other unintentional PrintValue calls anywhere in the source. So I think the current system (just take them out before committing) is working. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] bug (PR#13570)

2009-03-05 Thread murdoch
ps://stat.ethz.ch/mailman/listinfo/r-devel >> > > > Please can you folks try under R-devel (to be R-2.9.0 in a couple of > weeks) and report if you still see it. I do not under R-devel (but do > under R-release), so my guess is that something called by loess() has > been fixed in the meantime. > > Moreover it is not the plot stuff that was wrong under R-2.8.1 (release) > but the loess computations. I still see it in R-patched (haven't tried R-devel yet). So I think it is worth tracking down and fixing; I'll do it later today. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Error in .readRDS(nsInfoFilePath) : unknown input format (PR#13660)

2009-04-16 Thread murdoch
tever is wrong on your system. It doesn't look like an R bug to me. Duncan Murdoch >Copyright (C) 2008 The R Foundation for Statistical Computing >ISBN 3-900051-07-0 > >R is free software and comes with ABSOLUTELY NO WARRANTY. >You are welcome to redistribut

[Rd] Bug in Sweave? -- scoping problem? (PR#8615)

2006-02-18 Thread murdoch
ns the wrong values: it shows sorted values, but not sorted names, which is also what is left over in my workspace after the Sweave call: > partytotal A B C 0 6 24 These tests were run in R 2.2.1, but I see the same thing in today's R-devel. Duncan Murdoch ___

Re: [Rd] Bug in Sweave? -- scoping problem? (PR#8615)

2006-02-19 Thread murdoch
Berwin A Turlach wrote: > G'day Duncan, > > >>>>>>"DM" == murdoch <[EMAIL PROTECTED]> writes: > > > DM> I have found a strange scoping problem in Sweave. [...] > > DM> The strange thing is that while the value in p

Re: [Rd] [R] dotchart: Gap between text and chart (PR#8681)

2006-03-13 Thread murdoch
otchart(sort(a),cex=0.7) I've determined that this is a bug in dotchart. It miscalculates the height of a line of text in the right margin, using lheight <- strheight("M", "inch") which doesn't give the right answer. You get the correct answer in this case

Re: [Rd] pbinom( ) function (PR#8700)

2006-03-22 Thread murdoch
On 3/22/2006 10:08 AM, Peter Dalgaard wrote: > Duncan Murdoch <[EMAIL PROTECTED]> writes: > >> On 3/22/2006 3:52 AM, [EMAIL PROTECTED] wrote: >> >>>>>> "cspark" == cspark <[EMAIL PROTECTED]> >> >>>>>> on Wed, 2

Re: [Rd] bug in plot.acf (PR#8705)

2006-03-24 Thread murdoch
old, unproper ylim > specification > remains. Thanks for noticing this. It's easy to fix, but before I do, I'd like an opinion on the proper fix. Should all the plots use the same ylim, or in the case where it is unspecified, should they each choose their own? I can see a

[Rd] eapply() fails on baseenv() (PR#8761)

2006-04-10 Thread murdoch
ally urgent; if no one else fixes it first I'll do it after the release. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Strange parse behavior (PR#8815)

2006-04-27 Thread murdoch
o many use cases of parse (n=x) with x not either -1 > or 1, so it should not be a grave problem, but it just doesn't look right. I see the same results as you, in versions back to 1.9.1. I agree that it looks like a bug, but not a new one. I've sent this reply to the bu

Re: [Rd] windows( ... ,rescale="fixed") bug (PR#8857)

2006-05-13 Thread murdoch
On 5/13/2006 1:51 PM, Duncan Murdoch wrote: > On 5/13/2006 12:54 PM, [EMAIL PROTECTED] wrote: >> Full_Name: Gerhard Thallinger >> Version: 2.3.0; 2.2.0 >> OS: Windows XP >> Submission from: (NULL) (212.183.54.87) >> >> >> Invoking windows() with the p

Re: [Rd] optim "CG" bug w/patch proposal (PR#8786)

2006-05-17 Thread murdoch
On 5/17/2006 11:07 AM, Martin Maechler wrote: >>>>>> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> >>>>>> on Tue, 16 May 2006 08:34:06 -0400 writes: > > Duncan> On 5/16/2006 4:56 AM, [EMAIL PROTECTED] > Duncan> wrote

Re: [Rd] substitute(INDICES) in by.data.frame returns invalid multi-line (PR#9109)

2006-07-28 Thread murdoch
m is that names(IND) <- deparse(substitute(INDICES)) wraps the long expression; a patch is to replace that line with names(IND) <- deparse(substitute(INDICES), width=500) which would need a much longer line to trigger the error, or names(IND) <- deparse(substitute(INDICES))[

Re: [Rd] [R] function changes argument (PR#9216)

2006-09-11 Thread murdoch
That looks like a bug, still present in R-patched and R-devel. (I haven't got the latest pre-release built yet today, but I expect it's there, too.) Thanks for the report. I'll send a copy of this to the bugs list, but I won't be able to attempt to fix it. Duncan Murdoch &

Re: [Rd] Rgui.exe plot device "Save as" crash (PR#9237)

2006-09-18 Thread murdoch
", but it is all the same bug with lots of > details. My guess is it has something to do with the Tooltip from the Windows > system "Save as" dialog, which suggests there is a bug in R's implementation > of > the system "Save as" dialog. As well, it appears

Re: [Rd] Rgui.exe plot device "Save as" crash (PR#9237)

2006-09-18 Thread murdoch
rowseui.dll:75F81B9A Ordinal113 77F69498 SHLWAPI.dll:77F69498 Ordinal120 7C927545 ntdll.dll:7C927545 RtlUpcaseUnicodeString 7C927583 ntdll.dll:7C927583 RtlUpcaseUnicodeString 7C927645 ntdll.dll:7C927645 RtlUpcaseUnicodeString 7C92761C ntdll.dll:7C92761C RtlUpcaseUnicodeString

Re: [Rd] Strange behaviour of the [[ operator (PR#9263)

2006-09-30 Thread murdoch
- 'b'], whether a is a list or not: > a <- c(b=5, c=6, d=7) > a[t <- 'b'] > .Last.value b 5 Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Bug in 2.4.0 Windows menu setup (PR#9277)

2006-10-04 Thread murdoch
s all the details of what goes on in the translations, and he's away until Oct 9. Duncan Murdoch On 10/3/2006 9:00 PM, ronggui wrote: > This morning I downloaded R-2.4.0 and install in under Windows. I customized > the installation and choose "Message translations",but I could n

Re: [Rd] Extreme slowdown with named vectors. A bug? (PR#9280)

2006-10-06 Thread murdoch
;ll see if I can fix it. Duncan Murdoch > > for (n in 58950:58970) { > cat("n=", n, "\n", sep=""); > > # Clean up first > rm(names, x, y); gc(); > > # Create a named vector of length n > # Try with format "%5d&quo

Re: [Rd] Possible bug in accessing methods documentation? (PR#9291)

2006-10-11 Thread murdoch
eatureNames' and signature 'object = > "missing"' > > > Am I expecting the wrong thing or is this broken? I think it's broken. The line that looks broken is in .helpForCall, where it has methods::"elNamed<-"(sigClasses, arg, class(argVal)

Re: [Rd] [R] difference in using with() and the "data" argument in glm (PR#9338)

2006-11-03 Thread murdoch
arch strategy than R employs (but I might be wrong). This isn't a problem with the workaround I suggested to you, because there the parent of KK is environment(x), but that wouldn't be true in general. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] ccf documentation bug or suggeston (PR#9394)

2006-11-28 Thread murdoch
t is what I get from 2.4.0. I hope this isn't a result of my patch to allow length 1 series... Duncan Murdoch P.S. No need to send to more than one of R-devel, R-bugs, or me. I'll see the message on any of them. It's probably best to default to R-devel for suggestions like

Re: [Rd] ccf documentation bug or suggeston (PR#9394)

2006-11-28 Thread murdoch
lag zero value of 1 from ccf(), and I > think I should get cor(x,y), which in your example, would be -0.74: and > that is what I get from 2.4.0. > > I hope this isn't a result of my patch to allow length 1 series... It was. I'l

Re: [Rd] bug in arima? (PR#9404)

2006-11-30 Thread murdoch
On 11/30/2006 2:20 PM, [EMAIL PROTECTED] wrote: > I don't think arima works exactly the way one would expect when there is > differencing. What I think should happen is that by > default the mean of the differenced series is estimated and if > include.mean=F, then it is not. This is not what h

Re: [Rd] Non central chi squared bug (PR#9406)

2006-12-02 Thread murdoch
On 12/1/2006 6:21 AM, Duncan Murdoch wrote: > On 12/1/2006 5:44 AM, [EMAIL PROTECTED] wrote: >> Full_Name: Alan Bain >> Version: 2.4.0 >> OS: XP >> Submission from: (NULL) (155.140.122.227) >> >> >> >> Code for pnchisq contains following >

Re: [Rd] substitute creates an object which prints incorrectly (PR#9427)

2006-12-23 Thread murdoch
appears to be a bit of an >> overkill, too.) >> >> > Actually, this is the easier fix to my mind. Where do you see the danger? I think we should get rid of source attributes completely, since they are no longer needed, but your comment still applies to source references. We

Re: [Rd] AltGr not working in R GUI Script Editor (PR#9430)

2006-12-23 Thread murdoch
On 12/23/2006 1:00 PM, Duncan Murdoch wrote: > On 12/23/2006 6:07 AM, [EMAIL PROTECTED] wrote: >> Full_Name: Zoran Bosnic >> Version: 2.4.0 >> OS: Windows XP SP2 >> Submission from: (NULL) (212.235.140.146) >> >> >> This is a problem that occu

Re: [Rd] AltGr not working in R GUI Script Editor (PR#9430)

2006-12-24 Thread murdoch
> script editor, who wrote in graphapp/events.c > > /* Check for menu control keys. */ > /* disabled : Alt-Gr bug*/ /* Re-enabled for the moment, CJ */ > > I do now have a proper fix. Thanks! Duncan Murdoch > > > On Sat, 23 Dec 2006, Zoran Bosnic wr

Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9445)

2007-01-11 Thread murdoch
RUE, and your original formatting will be kept for that chunk. Or globally retain your formatting via \SweaveOpts{keep.source=TRUE} at the start of your file. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Suggestion: help()

2005-06-10 Thread Duncan Murdoch
Kurt Hornik wrote: >>>>>>Duncan Murdoch writes: > > >>>>>On Tue, 7 Jun 2005, Duncan Murdoch wrote: >>>>> >>>>>[...] >>>>> >>>>> >>>>> >>>>>>My proposal (modified

Re: [Rd] Suggestion: help()

2005-06-10 Thread Duncan Murdoch
On 6/10/2005 8:00 AM, Gabor Grothendieck wrote: > On 6/10/05, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> Kurt Hornik wrote: >> >>>>>>Duncan Murdoch writes: >> > >> > >> >>>>>On Tue, 7 Jun 2005, Duncan Murdoch wrote: &g

Re: [Rd] Suggestion: help()

2005-06-10 Thread Duncan Murdoch
On 6/10/2005 8:17 AM, Duncan Murdoch wrote: > On 6/10/2005 8:00 AM, Gabor Grothendieck wrote: >> It would be invoked like this: >> >>package?boot >> >> with the effect of giving help on boot-package. > > Okay, I get it. That's a good change.

Re: [Rd] typo in ?lowess

2005-06-11 Thread Duncan Murdoch
Tobias Verbeke wrote: > In the `See Also' section of ?lowess, I read > > 'loess'), a newer formula based version [...] Fixed, thanks. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] hist.default documentation

2005-06-17 Thread Duncan Murdoch
ld be changed (what's the point of having ``pretty'' > breakpoints anyway?), but if not, the documentation should be > clarified. I like the pretty breakpoints. It is good to label the breakpoints, and ugly to have labels at other than pretty points. I'd clarify by changing "giving" to "suggesting". > I'll be happy to provide a patch if these changes are considered reasonable. Please do. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] hist.default documentation

2005-06-17 Thread Duncan Murdoch
Thanks, I've committed the change. Duncan Murdoch On 6/17/2005 10:30 AM, Deepayan Sarkar wrote: > On 6/17/05, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> On 6/17/2005 8:58 AM, Deepayan Sarkar wrote: >> > I think there are a couple of things in ?hist that are no

Re: [Rd] Rgui bug in Windows: leftover download dialog (PR#7964)

2005-06-23 Thread Duncan Murdoch
to control that behaviour. The retention I put in is entirely within an R session. Each download just makes the same progress window visible where you last left it, instead of creating a new one. This way if you're doing something like installing all of CRAN, you can push the

Re: [Rd] list.files() reorders files in R CMD INSALL

2005-06-23 Thread Duncan Murdoch
NE (vor) > > > Note that the files are listed as: [1] "A" "B" "a" "b" > > Now start an R session >> list.files("~/FOO") > [1] "a" "A" "b" "B" > > which differs in order from

Re: [Rd] list.files() reorders files in R CMD INSALL

2005-06-23 Thread Duncan Murdoch
On 6/23/2005 4:38 PM, Duncan Murdoch wrote: > On 6/23/2005 4:18 PM, Vadim Ogranovich wrote: >> Hi, >> >> The list.files() function seems to order its result vector differently >> when is run during R CMD INSTALL. Here is an example: >> >> ~% mkdir ~/FOO

Re: [Rd] Embedding R in C application

2005-06-24 Thread Duncan Murdoch
ular the chapters on the R API (for access to the underlying computational routines) and the one on linking GUIs or other front-ends (which sounds more like what you want to do). Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R v2.1.1 for Windows and "non-reproducible" crashes

2005-06-27 Thread Duncan Murdoch
les) >> file.show(rdFiles[1]) >> file.remove(rdFiles) >> >> For me it crashes when it gets to the Rdoc$compile() line and Dr. Mingw >> reports: >> >> Rterm.exe caused an Access Violation at location 7c911e58 in module >> ntdll.dll Reading from location 52474f52. I get a crash there too. I'll take a look. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Viewing R objects in gdb

2005-06-29 Thread Duncan Murdoch
of an SEXP would also be welcome, but I can probably figure that one out once I get this...) Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Viewing R objects in gdb

2005-06-29 Thread Duncan Murdoch
On 6/29/2005 2:06 PM, Luke Tierney wrote: > On Wed, 29 Jun 2005, Duncan Murdoch wrote: > >> I'm trying to track down a bug in some experimental code, where an >> object's attribute is getting messed up. This means I'd like to examine >> R objects while

Re: [Rd] upgrading an R installation to next versoin

2005-06-30 Thread Duncan Murdoch
handling multiple shortcuts with the same hotkey. I'd rather stay away from this.) #4 is another case where you can put your libraries outside R_HOME. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

  1   2   3   4   5   6   7   8   9   10   >