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
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
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
==
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
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
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
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
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
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
___
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
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
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
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
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
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]]
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(
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
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
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)
>>>
>>>
>>>
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
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
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
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-
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
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
,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
__
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
252; [snip]
attached base packages:
[1] stats graphics grDevices utils datasets methods base
- Peter Ehlers
Prof Brian Ripley wrote:
> On a normal R help system any version of help(letters) tries to give you
> help on a, b, etc. This is intentional (although the document
y29
svn rev39744
language R
version.string R version 2.4.0 Patched (2006-10-29 r39744)
Peter Ehlers
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Full_Name: Ricardo Ehlers
Version: 2.4.0
OS: Linux
Submission from: (NULL) (200.138.34.134)
The dump function is outputing something different from previous versions. For
example
> a <- c(1,2,3); dump('a',file='test')
now results in `a` <- c(1,2) instead of &q
Andrew,
Why are you calling plot.new()?
Peter Ehlers
[EMAIL PROTECTED] wrote:
> Full_Name: Andrew Hooker
> Version: 2.3.1
> OS: windows xp sp2
> Submission from: (NULL) (83.253.8.162)
>
>
> Hi,
>
> I think there is a bug in the windows graph history procedure, her
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.
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
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
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
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:
>
>>
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
Would
basename(choose.files())
work for your usage?
Still, a full.names argument might be useful.
Peter Ehlers
Brooks, Anthony B wrote:
> Hi
> I am writing a script to generate a QC report for some data based on a number
> of files. I am currently using the choose.files function
; are no traps if p=0 or p=1.
>
>
>>>(But it depends on your point of view, as above ... However,
>>>surely the two should be consistent with each other.)
>
>
> Ted.
I prefer a (consistent) NaN. What happens to our notion of a
Binomial RV as a sequence of
; are no traps if p=0 or p=1.
>
>
>>>(But it depends on your point of view, as above ... However,
>>>surely the two should be consistent with each other.)
>
>
> Ted.
I prefer a (consistent) NaN. What happens to our notion of a
Binomial RV as a sequence of
You don't actually need Ben's example. The problem occurs
also for the first example in ?nls if algorithm = "port" is
used.
Peter Ehlers
[EMAIL PROTECTED] wrote:
> Duncan Murdoch wrote:
>
>>I've found the problem, but someone who knows more about nls() wil
DevelopeRs:
I think it might be useful to add a link to oneway.test() on
the kruskal.test() help page.
("R version 2.3.0, 2005-12-09")
Peter Ehlers
U of Calgary
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
Peter Ehlers
Department of Mathematics and Statistics
University of Calgary, 2500 University Dr. NW ph: 403-220-3936
Calgary, Alberta T2N 1N4, CANA
ows. I tried both packages. The
> directions under Matrix indicate that package 99.2 is current. It is the
> one that will not load.
>
> Respectfully,
>
> Frank Lawrence
>
>
> -Original Message-
> From: P Ehlers [mailto:[EMAIL PROTECTED]
> S
.0.
>
> Respectfully,
>
> Frank Lawrence
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
Peter Ehlers
Department of Mathematics and Statistics
University of Calgary, 2500 Univer
I think the problem may lie with fitdistr().
Specifically, replacing the code in fitdistr.R (VR_7.2-20)
(line 137 to end) with the code in VR_7.2-8 (line 92 to end)
seems to handle
fitdistr(otm, "gamma")
just fine. But I haven't done much testing.
Peter Ehlers
Peter Dalg
rjan
> Zootechnical Department mail: gregor.gorjanc bfro.uni-lj.si
> Groblje 3 tel: +386 (0)1 72 17 861
> SI-1230 Domzale fax: +386 (0)1 72 17 888
> Slovenia, Europe
> ------
> &
Prof Brian Ripley wrote:
> On Sun, 30 Oct 2005, P Ehlers wrote:
>
>> [EMAIL PROTECTED] wrote:
>>
>>> Full_Name: foo ba baz
>>> Version: R2.2.0
>>> OS: Mac OS X (10.4)
>>> Submission from: (NULL) (219.66.32.183)
>>>
>>>
>
; when | a d - b c | < n / 2 ,chi-sq must be 0
>
(Presumably, you mean P-value = 1.)
If you don't want the correction, set correct=FALSE. (The
results won't differ much.)
A better example is
chisq.test(matrix(c(9,10,9,10),2,2))
for which R
thoroughly.
Replace:
xi <- x[[i]][, -4]
with:
xi <- x[[i]][, -4, drop = FALSE]
in order to keep nrow() functioning properly in
yvals <- nrow(xi):1
when xi has only one row as in the helpfile example with
plot(TukeyHSD(fm1, "wool"))
Peter
Thanks for the quick response.
-Peter
Prof Brian Ripley wrote:
> The addresses are wrong. We know there are some incorrect links due to
> mirroring errors, but
>
> http://cran.r-project.org/bin/windows/base/R-2.2.0pat-win32.exe
>
> etc are there.
>
> On Mon, 24
atisticsPrograms/R/Rdevel/bin/Rchtml.dll':
LoadLibrary failure: The specified procedure could not be found.
Replacing Rchtml.dll in \bin with that from R-patched fixes the
problem.
A hex file compare claims the two versions of Rchtml.dll are
identical, except for the creation dates.
Any i
check if these files are accessible to them?
I'm guessing there's something haywire in my setup.
Note that I can ftp the files without problem.
--
Peter Ehlers
Department of Mathematics and Statistics
University of Calgary, 2500 University Dr.
Full_Name: Peter Ehlers
Version: "R version 2.2.0, 2005-10-19"
OS: Windows XP
Submission from: (NULL) (136.159.71.162)
The newly added column of adjusted p-values in TukeyHSD output causes a problem
with plotting the confidence intervals; an extraneous vertical line segment
de of the 49th
parallel. But please don't let these comments discourage
further documentation improvement suggestions.
Peter Ehlers
U. of Calgary (Canada)
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
>
>>On Wed, 24 Aug 2005 [EMAIL PROTECTED] wrote:
>
>
>>>I just
55 matches
Mail list logo