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)
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
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
32 matches
Mail list logo