Displaying 20 results from an estimated 4000 matches similar to: "Muliple partial matches with pmatch"
2013 Jul 15
1
pmatch inconsistency
The pmatch help (see also section 4.3.2 in the R Language Definition)
claims that pmatch with duplicates.ok=FALSE provides the same
functionality as R's argument matching algorithm, modulo how empty
strings are matched.
Here's an undocumented inconsistency between pmatch and R's argument
matching algorithm:
> sessionInfo()
R version 3.0.1 (2013-05-16)
Platform:
1999 Mar 18
1
Building R under gnumake 3.75, Solaris 2.6
./configure works fine. make generates the error
......
gcc -g -O2 -I../include -I../../src/include -c saveload.c -o saveload.o
In file included from /usr/include/sys/turnstile.h:12,
from /usr/include/sys/t_lock.h:20,
from /usr/include/sys/vnode.h:37,
from /usr/include/sys/stream.h:21,
from /usr/include/netinet/in.h:38,
1999 Dec 01
1
Plot Character Sizes in rw-0.90.0
I have two supposedly identical installations, one under Windows 95,
and the other (at home) under Windows 98. The puzzle is that under
my Windows 98 installation, symbols plotted by default or with pch
come out huge, at about 2.2 times the height of the axis labels.
Setting cex=0.5 seems about what is needed to fix the heights.
On the Windows 95 installation, the symbols come out just a little
1999 Dec 01
1
Plot Character Sizes in rw-0.90.0
I have two supposedly identical installations, one under Windows 95,
and the other (at home) under Windows 98. The puzzle is that under
my Windows 98 installation, symbols plotted by default or with pch
come out huge, at about 2.2 times the height of the axis labels.
Setting cex=0.5 seems about what is needed to fix the heights.
On the Windows 95 installation, the symbols come out just a little
2010 Nov 09
1
agrep pmatch recursive???
Hello R Helpers,
Business - 64 bit windows 7, R 2.11.1
I am trying to match the character contents of one list, called 'exclude', to those of a second list, called 'dataset'
dataset is a list of file names with folder locations, and looks like this when called:
> dataset
[1] "A/10-10-29a-13.cdf" "A/10-10-29a-14.cdf" "A/10-10-29a-15.cdf"
2000 Jul 12
1
plot.times error -- missing or illegal tck parameter (PR#601)
There seems no default setting for tck, causing problems
for plot.times()
> library(chron)
> dts <- dates(c("02/27/92", "02/27/92", "01/14/92",
+ "02/28/92", "02/01/92"))
> y<-chron(dts,out.format=c("dmy","h:m:s"))
> y
[1] 270292 270292 140192 280292 010292
> plot(y,1:5)
Error in axis(n, at =
2023 Dec 16
2
Partial matching performance in data frame rownames using [
On Wed, 13 Dec 2023 09:04:18 +0100
Hilmar Berger via R-devel <r-devel at r-project.org> wrote:
> Still, I feel that default partial matching cripples the functionality
> of data.frame for larger tables.
Changing the default now would require a long deprecation cycle to give
everyone who uses `[.data.frame` and relies on partial matching
(whether they know it or not) enough time to
2000 Oct 23
1
Regular Expression and Pmatch
Hi, I wonder if there's a good intro to the pattern matching using R? I'm a perl
programer and find it too confusing and complex to use regular expressions under R.
For instance, why does pmatch("d","ad") returns NULL? How would I call the
functions in order to match any portion of the string? Under what circumstances shall
backslush be used? I try to extract all
2000 Jan 10
1
'at' parameter in mtext(.., adj=0, outer=T) (PR#396)
Depending on the setting of par()$usr,
the 'at' setting in mtext(.., adj=0, outer=T) may cause the
text to appear in an anomalous position (e. g. in the first
instance below, at the left of the plot region rather than
at 'at=0' in the figure region), or the text may not appear
at all.
If one does not set the 'at' parameter the text appears
(with 'adj=0') on the
2023 Dec 19
1
Partial matching performance in data frame rownames using [
Hi Hilmar and Ivan,
I have used your code examples to write a blog post about this topic,
which has figures that show the asymptotic time complexity of the
various approaches,
https://tdhock.github.io/blog/2023/df-partial-match/
The asymptotic complexity of partial matching appears to be quadratic
O(N^2) whereas the other approaches are asymptotically faster: linear
O(N) or log-linear O(N log N).
2006 Sep 06
1
How to get multiple partial matches?
Hi,
I'm very new to R, and am not at all a software
programmer of any sort. I appreciate any help you
may have. I have figured out how to get my data into
a dataframe and order it alphabetically according to a
particular column. Now, I would like to seperate out
certain rows based on partial character matches. Here
is an (extremely) abreviated example of my data set
Probe Ch1
1999 May 17
1
Character height & width in user co-ordinates
Is there an equivalent to the S-PLUS par()$cxy in R?
Also, is it possible to get notice taken of some
equivalent of \n in R when using text()?
For what it is worth I am using RW-0.64.1.
John Maindonald email : john.maindonald at anu.edu.au
Statistical Consulting Unit, phone : (6249)3998
c/o CMA, SMS, fax : (6249)5549
John Dedman Mathematical
1999 Dec 02
1
Large plot symbols (with pch = 1 etc)
On my home (Windows 98) machine I find:
> par()$cra
[1] 42 16
> par()$csi
[1] 0.1666667
>
On my work machine I believe I had
par()$cra
[1] 17 16
So it looks as though R is reading the width wrongly,
and that it is the width that is somehow used to
determine the plot character size.
Incidentally I noted Brian's comment that R had misread
his character dimension information wrongly.
1999 Dec 02
1
Error in plot.aov() (PR#356)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@biostat.ku.dk
#
######################################################
The error occurs following the third Hit <Return> below:
> y_rnorm(40)
>
2000 Mar 21
3
Use of Rd2txt on .Rd files from rw-1.0.0 (PR#498)
>From e980153 Tue Mar 21 18:50:55 2000
To: bates@stat.wisc.edu
Subject: Use of Rd2txt on .Rd files from rw-1.0.0
Files generated using prompt.data.frame() under rw-1.0.0 get
scrambled (mildly) when I process them under Rd2txt on Solaris,
(using R-devel 1.1.0).
Files generated under R-devel 1.1 on Solaris are processed ok.
The .Rd files from the two sources look identical. The problem
is
2009 Oct 30
1
bug in `pmatch' (error with too long 'choices')?
I observed the following:
match.arg("white", colors())
yields 'white', but
match.arg("whit", colors())
yields:
`Error in match.arg("whit", colors()) :
'arg' should be one of "white", "aliceblue", '...
this message actually comes from `pmatch'. using a suitable subset of
`colors()' works OK. the precise length
1999 Sep 24
3
What is R - A Summary
I wonder whether there is any comment on the following. It is a
summary of a 10 minute contribution that I made to a biostatistical
workshop help yesterday in Sydney. My aim was to highlight the
benefits of the Linux/R development model, in a session with the
title: "How can statistical packages be improved?"
===================================================================
The R
2004 Nov 02
1
install.packages, bundles, pmatch, and Rprofile...
Hi,
Somebody asked me to make sure that all the machines running the in our lab
(XP and Linux, both running 2.0) have R installed and that A) All the
packages are installed and B) kept up-to-date.
Obediently, I began to modify a shared Rprofile so that once a week it
checks for new packages and updates to the current version of the installed
packages on CRAN. Sounds simple enough. Plus some
1999 Aug 29
1
Compiling R under Caldera Open Linux 2.2
To: jnf@pcisys.net
Subject: Compilation of R under Caldera OpenLinux 2.2
> On Sat, 28 Aug 1999 jnf@pcisys.net wrote:
> >
> > I am attempting to compile R-0.64.2 under Caldera OpenLinux 2.2. I have
> > KDE installed but not gnome. When I ran configure, it correctly
> > indicated that gnome is not installed. However when I then ran make, I
> > received errors
2000 May 09
4
Dispersion in summary.glm() with binomial & poisson link
Following p.206 of "Statistical Models in S", I wish to change
the code for summary.glm() so that it estimates the dispersion
for binomial & poisson models when the parameter dispersion is
set to zero. The following changes [insertion of ||dispersion==0
at one point; and !is.null(dispersion) at another] will do the trick:
"summary.glm" <-
function(object, dispersion =