[Rd] Tiny typo in help.Rd

2011-07-13 Thread Peter Ehlers
A recent quote by Bert Gunter from the Details section of help('help') over on R-help has this (line 82 in help.Rd): character string. There include those which cannot syntactically where the word 'There' should be 'These'. (still

Re: [Rd] New code in R-devel: Rao score test for glm.

2011-05-11 Thread Peter Ehlers
ications", I thought paying a little homage would be appropriate - At least the curator calls it "Rao score test": http://www.scholarpedia.org/article/Rao_score_test Yes, thanks, Peter, for coding this test. As to the name, my vote is for "Rao". Peter Ehlers -- Brett

Re: [Rd] possible minor doc clarification?

2011-04-25 Thread Peter Ehlers
x 'being a directory' or for x 'not being a directory'. The code (for the '-f' op) actually tests !isdir and so the current wording reflects the code. Peter Ehlers Kind regards, Sean O'Riordain - Index: src/library/utils/man/filetest.Rd ==

Re: [Rd] plotmath indices: suggested addition to help file

2011-01-21 Thread Peter Ehlers
he more you become familiar with the special constructs needed to get the output you want. I still find myself scurrying to ?plotmath and scanning the Syntax/Meaning table quite frequently. Peter Ehlers Martin CB> Claudia __ R-devel@r-project

Re: [Rd] postscript failure manifests in plot.TukeyHSD

2010-12-14 Thread Peter Ehlers
SetLineStyle or PostScriptSetLineTexture one can tell whether the current driver is PS or PDF ... That may not do it. I find the same problem (fixed by Jari's replacement of [ 0.00 0.00] with [ 3.00 5.00]; haven't tried anything else yet) when I use pdf() instead of postscript(). This is on

Re: [Rd] Assignment of individual values to data frame columns: intentional or unintentional behavior?

2010-09-02 Thread Peter Ehlers
ddling with data frames. Try this: sw <- swiss[1:5, 1:4] sw[["Fert"]] sw[["Fert"]] <- 10 and my preferred version: sw[, "Fert"] sw[, "Fert"] <- 10 I've never liked partial matching for data frames. -Peter Ehlers

Re: [Rd] Looks like a bug in subsetting of a complicated object

2010-09-01 Thread Peter Ehlers
simmatrices(sim0) set.seed(234) x<- sample(seq(0, 100, by=1), 101, replace=TRUE) y<- sample(seq(0, 100, by=1), 101, replace=TRUE) coo<- cbind(x=x, y=y) coo<- unique(coo) sim1.obs<- sim1[coo] dim(coo) length(sim1.obs) One of the values in coo is zero. -Peter Ehlers sessionInf

Re: [Rd] read.table / type.convert with NA values

2010-06-29 Thread Peter Ehlers
Is there a compelling reason to have strip.white default to FALSE? It seems to me that it would be more common to want the TRUE case. Having said that, I must confess that I've never had the problem Erik describes. -Peter Ehlers On 2010-06-29 17:14, Matt Shotwell wrote: The document RFC

Re: [Rd] Location of source code for readline()

2010-05-30 Thread Peter Ehlers
Do you want to continue?', timeout=6). Note that the issue seems to be Windows. I haven't a Mac to try, but Linux can be made to function by various methods at the top. Sigh. JN I can't help with your project, but check scan.c for do_readln. -Peter Ehlers ___

Re: [Rd] Deferred Default Marker

2010-04-23 Thread Peter Ehlers
ional? -Peter Ehlers > sessionInfo() R version 2.10.1 Patched (2010-01-05 r50896) i386-pc-mingw32 locale: [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C [5] LC_TIME=English_Canada.1252 attached base packages: [1] splines

[Rd] packages with DLLs under 2.12.0

2010-04-02 Thread Peter Ehlers
mvtnorm_0.9-9 loaded via a namespace (and not attached): [1] tools_2.12.0 -- Peter Ehlers University of Calgary __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Minor typo in ?.Primitive

2010-04-01 Thread Peter Ehlers
The help page for .Primitive has this line: ## start quote This function is almost never used: get(name, envir=basenv()) works equally well and ## end quote basenv() should be baseenv(). Checked for r51392 and r51520. -Peter Ehlers __ R

Re: [Rd] aggregate: with 2 by variables in the result the 2nd by-variable is wrong (PR#14213)

2010-02-12 Thread Peter Ehlers
this is 2.10.1 nor in 2.11.0 (Windows Vista). I can't think of how you might have got your result. Is there something you haven't mentioned? What's your sessionInfo()? -- Peter Ehlers University of Calgary __ R-devel@r-project.org mailing li

Re: [Rd] Unexpected behaviour of x[i] when i is a matrix, on Windows

2010-02-12 Thread Peter Ehlers
You're comparing 2.10.0 on Windows with 2.11.0 on Linux. Have you tried 2.11.0 on Windows? => same result as on Linux. -Peter Ehlers Wolfgang Huber wrote: Hi, when running the following on different instances of R (Linux and Windows), I get different results. The one for Linux see

Re: [Rd] Confusing error message for [[.factor (PR#14209)

2010-02-09 Thread Peter Ehlers
particularly careful reading to find this: "The most important distinction between [, [[ and $ is that the [ can select more than one element whereas the other two select a single element." Try this: c("a","b")[[c(1,2)]] c("a","b")[[TRUE]]

Re: [Rd] log normal overlay

2010-01-04 Thread Peter Ehlers
ot;,col="grey") plot(function(app_depths) dlnorm(app_depths,meanlog=mean(app_depths),sdlog=sd(app_depths)),0,44,add=TRUE,col="black",lwd=3) Don't you need meanlog=mean(log()), etc? I usually use curve(): hist(app_depths,breaks,freq=FALSE) curve(dlnorm(x, meanlog=mean(log(

Re: [Rd] loess() crashes R on my system

2010-01-02 Thread Peter Ehlers
Dennis, I have no problems with this on my DELL laptop (still running Vista) with R version 2.10.1 Patched (2009-12-21 r50796). -Peter Ehlers Dennis Murphy wrote: Greetings and happy new year! I am in the process of converting some of the old S-PLUS scripts from Visualizing Data (Cleveland

Re: [Rd] bug in princomp example (PR#14167)

2009-12-24 Thread Peter Ehlers
s: [1] fortunes_1.3-6 loaded via a namespace (and not attached): [1] tools_2.10.1 > -Peter Ehlers Seth Roberts -- Peter Ehlers University of Calgary 403.202.3921 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] `mgp[1:3]' are of differing sign (PR#14130)

2009-12-12 Thread Peter Ehlers
Peter Dalgaard wrote: Peter Ehlers wrote: cornell.p.gonsch...@iem.fh-friedberg.de wrote: Full_Name: Cornell Gonschior Version: 2.10.0 OS: Linux Submission from: (NULL) (212.201.28.40) Hi, in the introduction to R, you can find the following sentence in the par() chapter: "Use tck

Re: [Rd] `mgp[1:3]' are of differing sign (PR#14130)

2009-12-12 Thread Peter Ehlers
rning, making you aware of a possibly unintended par setting. Warnings are good things but if you don't want to see them, they can be suppressed. Certainly not a bug. -Peter Ehlers __ R-devel@r-project.org mailing list https://stat.ethz.ch/m

Re: [Rd] The "lib" argument in install.packages().

2009-11-24 Thread Peter Ehlers
Rolf, If you want to avoid the warning, why not use lib=.libPaths()[1]? This is not to say that your suggestions aren't useful. Cheers, Peter Ehlers Rolf Turner wrote: I was flummoxed for a long time by errors generated when I did something like install.packages(foo,lib="Rli

Re: [Rd] Request: bring back windows chm help support (PR#14034)

2009-11-01 Thread Peter Ehlers
right in assuming that the speed problem is for the first time you use help? I start Firefox whenever I start R. I don't see much of a speed hit after that. -Peter Ehlers __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-

Re: [Rd] Request: bring back windows chm help support (PR#14034)

2009-11-01 Thread Peter Ehlers
alexios wrote: Peter Ehlers wrote: Duncan Murdoch wrote: On 31/10/2009 6:05 PM, alex...@4dscape.com wrote: Full_Name: alex galanos Version: 2.10.0 OS: windows vista Submission from: (NULL) (86.11.78.110) I respectfully request that the chm help support for windows, which was very

Re: [Rd] Request: bring back windows chm help support (PR#14034)

2009-11-01 Thread Peter Ehlers
nline poll have been conducted to gauge the support of this format by window's users? First, I don't think that complaints are bugs. Secondly, why not give the new format a chance. Personally, I like it. Thanks, Duncan. -Peter Ehlers I don't think it's going to come

Re: [Rd] names drop for columns from data.frame (PR#14002)

2009-10-24 Thread Peter Ehlers
,ncol=2,dimnames=list(c("x","y"),c("i","j"))) names(b[,1]) names(b[1,]) Thanks ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Ehlers University of Calgary __

Re: [Rd] lattice's mai/mar analog

2009-10-02 Thread Peter Ehlers
axis, etc. The paddings are ordered from extreme left to extreme right. Ditto for top to bottom. See ?trellis.par.set for how to set up the options. -Peter Ehlers [[alternative HTML version deleted

Re: [Rd] Numerical error in R (win32) (PR#8909)

2006-05-29 Thread Peter Ehlers
Did you check the Details section of the help page for round()? Peter Ehlers [EMAIL PROTECTED] wrote: > Hi > I had observed the following problem in R (also C, Matlab, and Python). > sprintf('%1.2g\n', 3.15) > give 3.1 instead of 3.2 whereas an input of 3.

Re: [Rd] bug in rbind.data.frame with factors (PR#8868)

2006-05-16 Thread Peter Ehlers
How is this a bug? From the help page for cbind/rbind: Description Take a sequence of vector, matrix or data frames arguments and combine by _columns_ or _rows_, respectively. (emphasis added) Note that it does _not_ say "combine by variable names". Peter Ehlers [EMAIL PROTEC

Re: [Rd] (PR#8777) strsplit does [not] return correct value when spliting ""

2006-04-17 Thread Peter Ehlers
Charles, Can't you achieve your goal by unlist()ing 'substrings'? max(nchar(unlist(substrings))) Peter Ehlers Charles Dupont wrote: > Now using R 2.3.0. > > I have a string that can be "". I want to find the max screen width of > the all the line

[Rd] R-2.3.0alpha-win32: Rgui and MDI/SDI

2006-04-07 Thread Peter Ehlers
I find that Rgui defaults to SDI if I specify MDI = yes toolbar = no in Rconsole. Hope I didn't miss something in NEWS/CHANGES. R.version.string [1] "Version 2.3.0 alpha (2006-04-05 r37653)" Win XP Peter Ehlers __ R-devel@r-proj

Re: [Rd] wishlist: 'formula' method for stripchart()

2006-04-05 Thread Peter Ehlers
Sorry, I should have been clearer. This is definitely not a high-priority item and I hadn't intended it to be included for 2.3.0. Sure, I'll provide the code and help page adjustment. Peter Ehlers Prof Brian Ripley wrote: > On Wed, 5 Apr 2006, Peter Ehlers wrote: > >>

[Rd] wishlist: 'formula' method for stripchart()

2006-04-05 Thread Peter Ehlers
Folks, I would find it useful to have a formula method for stripchart() with 'data' and 'subset' arguments, similar to boxplot.formula() whose code can probably be adapted fairly easily. Comments? Peter Ehlers (Win XP) __ R