On 04/12/2022 00:25, Hadley Wickham wrote:
On Sun, Dec 4, 2022 at 12:50 PM Hervé Pagès wrote:
On 03/12/2022 07:21, Bert Gunter wrote:
Perhaps it is worth pointing out that looping constructs like lapply() can
be avoided and the procedure vectorized by mimicking Martin Morgan's
solution
imal, self-contained, reproducible code.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide comme
ce(x,
"Clothing accessories (belts and so on)",
"Clothing accessories")
x3
x4 <- str_replace(x,
"Women's footwear (excluding athletic)",
"Women's footwear")
x4
__
R-help@r-project.org mailing list -- To UNS
mutability of the function's data, and
I'm reluctant to create such constraints.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dhelp=DwIDaQ=eRAMFD45gAfqt84VtBcfhQ=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA=2kAPk_-c9XEQGS0BB1rf03oPxqQtflyqhqi-0BT8bW
X-0ccnNHdReiprw=RzvpfqevFgNjYNRLX0nYF8un-5x7k-QG5h0465YA7mQ=
PLEASE do read the posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html=DwIDaQ=eRAMFD45gAfqt84VtBcfhQ=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA=yZXfRqVdJeNf73bgLhzIctzOWowNX-0ccnNHdReiprw=kL6q9dyo4
2Dguide.html=DwIFaQ=eRAMFD45gAfqt84VtBcfhQ=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA=2N70kU171QMzQHhg6A9N3op5jqv8uCm9-njqZfPW3Ok=GgmKzz9H7MAj3iy7Pu4U0q5v02Fumnl3hjxug2SY1zk=
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
F
inimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fredhutch.org
Phone: (206) 667-5791
Fax:(20
7QZvG7lZuOYvo9D6UANEgWylkApF-xIvpLMGVhQ=
PLEASE do read the posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html=DwICAg=eRAMFD45gAfqt84VtBcfhQ=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA=ILkgA-W4NkL_PpalU1VtS9iO60moznxYVBGfU5QbyNw=zohn8q-ufE7UhlQDQGc3KP-lsbM4O62
2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html=DwIGaQ=eRAMFD45gAfqt84VtBcfhQ=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA=1JaAU8JTsAs-1eiwcWXgFMF6An1cjDHTSOjin674VRk=Gg8ShT8jT0TS19y42_4tYW23RMUgqeewiCRAW-TbXT0=
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computat
e.html=DwICAg=eRAMFD45gAfqt84VtBcfhQ=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA=h2uDuHofumYjJ48NvOaART10-esHowpTtp37cGtD3yQ=0CaeomvoF9oO4LmfDFSjbfMQn4TufgUA-mqqIP7VFno=
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public
-R1LQ9G8=
PLEASE do read the posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html=DwICAg=eRAMFD45gAfqt84VtBcfhQ=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA=AeHAcF7RnhWvQIqG5c2ucgFS0WIOmMFeRheLIeSwu0U=c9IcZitWvur2grg8C54Jnt5LmajX0ODDANY-BGRz
guide.html=DwIGaQ=eRAMFD45gAfqt84VtBcfhQ=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA=sLEnaUtX6fn9Y_qSSEHFl-W9OaFf4_3oSFFTpbvjAd4=PliR-mnRNhRqRnpIX6OFVtcpBlOR2rBkBKtemPQ-NMw=
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division
's
what actually powers the behaviour.
Reading the description for split leads to this rather interesting example:
tapply(mtcars, 1:11, I)
Hadley
On Tue, Feb 14, 2017 at 7:10 PM, Hervé Pagès <hpa...@fredhutch.org> wrote:
Hi,
tapply() will work on any object 'X' that has a length and s
ds of
explanation here would not go amiss.
But, anyway, thanks for the clarification.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic stri
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Tue, Feb 14, 2017 at 5:10 PM, Hervé Pagès <hpa...@fredhutch.org> wrote:
Hi,
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minim
UE) solution uses less than 1Gb.
Cheers,
H.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Nov 14, 2016 at 12:2
00 0.104
... is 5 times faster with fixed=TRUE for this case.
This result matchea Marc's count:
sum(lengths(strsplit(paste0("X", Vec, "X"),"a",fixed=FALSE)) - 1)
[1] 38664
Chuck
__
R-help@r-project.org mai
ted, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fredhutch.org
Phone: (206) 667-5791
sk. That's the only way to learn!
H.
On Wed, Jul 27, 2016 at 12:40 PM, Hervé Pagès <hpa...@fredhutch.org
<mailto:hpa...@fredhutch.org>> wrote:
Hi,
On 07/27/2016 11:17 AM, lily li wrote:
Hi all,
I want to ask that how to create column names for a matri
, but use the
original structure of the code. The original matrix has all characters
instead of 1:5.
On Wed, Jul 27, 2016 at 12:42 PM, Hervé Pagès <hpa...@fredhutch.org
<mailto:hpa...@fredhutch.org>> wrote:
On 07/27/2016 11:40 AM, Hervé Pagès wrote:
Hi,
On 07/2
On 07/27/2016 11:40 AM, Hervé Pagès wrote:
Hi,
On 07/27/2016 11:17 AM, lily li wrote:
Hi all,
I want to ask that how to create column names for a matrix. For example,
the matrix below, the column names should be: 1-A, 1-B, 1-C, 1-D, 2-A,
2-B,
2-C, 2-D, 3-A, etc. Thanks for your help.
chars
ttps://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer R
e, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson
omplete - run time is prohibitive (I killed the rsession
after 5 minutes).
I would think that merging data.frame's is a common operation. Is
there a better function (more performant) that I could use?
Thank you.
Witold
--
Hervé Pagès
Program in Computational Biology
Division of Public Health
cible code.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained,
On 05/03/2016 06:05 AM, Jeff Newmiller wrote:
Isn't that just an inefficient way to do
"age" == x
Yep, it's an inefficient way to do which(x == "age").
H.
?
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer
H.
Ken
kmna...@gmail.com <mailto:kmna...@gmail.com>
914-450-0816 (tel)
347-730-4813 (fax)
On Mar 3, 2016, at 4:52 PM, Hervé Pagès <hpa...@fredhutch.org
<mailto:hpa...@fredhutch.org>> wrote:
Hi,
On 03/03/2016 12:18 PM, KMNanus wrote:
I have a factor variable that is 6 di
)
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program
E do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
reproducible code.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide c
}}
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program
mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public
.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program
the choice of
numeric ID's may be important.
Bill Dunlap
TIBCO Software
wdunlap tibco.com http://tibco.com
On Fri, May 29, 2015 at 1:29 PM, Hervé Pagès hpa...@fredhutch.org
mailto:hpa...@fredhutch.org wrote:
Hi Sarah,
On 05/29/2015 12:04 PM, Sarah Goslee wrote:
On Fri, May 29, 2015
Hi Sarah,
On 05/29/2015 12:04 PM, Sarah Goslee wrote:
On Fri, May 29, 2015 at 2:16 PM, Hervé Pagès hpa...@fredhutch.org wrote:
Hi Kate,
I found that matching the character vector to itself is a very
effective way to do this:
x - c(a, bunch, of, strings, whose, exact, content
commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fredhutch.org
Phone: (206) 667-5791
,
H.
Best wishes,
Alrik
-Ursprüngliche Nachricht-
Von: Hervé Pagès [mailto:hpa...@fredhutch.org]
Gesendet: Samstag, 28. Februar 2015 23:29
An: Alrik Thiem; r-help@r-project.org
Betreff: Re: [R] Substring replacement in string
Hi Alrik,
With the Biostrings/IRanges infrastructure
and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred
-- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health
On 02/17/2015 08:03 PM, Hadley Wickham wrote:
On Tue, Feb 17, 2015 at 6:02 PM, Hervé Pagès hpa...@fredhutch.org wrote:
On 02/17/2015 02:10 PM, Erich Neuwirth wrote:
AFAIK dplyr imports magrtittr.
So dplyr ses %% from migrittr, it does not have its own version.
But it has its own man page so
, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fredhutch.org
Phone: (206) 667-5791
Fax:(206) 667
-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail
, reproducible code.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé
to remove trailing blanks in the
SELECT command. PostgreSQL has a trim(trailing ' ' from column)', but
MS-SQL upchucks on that syntax.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fhcrc.org
Phone: (206) 667
-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fhcrc.org
Phone
On 01/23/2014 04:49 PM, Hervé Pagès wrote:
Hi Mintewab,
With the IRanges packages (from Bioconductor):
library(IRanges)
countMatches(z, w)
[1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 3 1 1 0 1 0 0 0 0 0 0 1 3
2 0 0 1 0 0
[39] 0 0 0 0 0 0 0 0
And if you don't want to depend
version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé
commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fhcrc.org
Phone: (206) 667-5791
Fax
, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fhcrc.org
Phone: (206) 667-5791
Fax:(206) 667-1319
://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research
/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100
---
strsplit(c(a,b;c,d;e,f),[,;])
[[1]]
[1] a b c
[[2]]
[1] d e f
--8---cut here---end---8---
Is this a bug or did I misunderstand the docs?
Thanks!
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research
:11 AM, Hervé Pagès hpa...@fhcrc.org wrote:
Hi Hadley,
I suspect that the dispatch algorithm doesn't realize that selection
is ambiguous in your example. For 2 reasons:
(1) When it does realize it, it notifies the user:
setClass(A, NULL)
setGeneric(f, function(x, y
lexicographically in the ordering) and what other methods could have
been selected.
Hadley
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa
://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E
extends(AB, A, fullInfo=TRUE)@distance
extends(AB, B, fullInfo=TRUE)@distance
# So why is signature(B, B) closer than signature(A, A)
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fhcrc.org
Phone: (206) 667-5791
Fax:(206) 667-1319
.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fhcrc.org
Phone: (206) 667-5791
Fax:(206) 667-1319
access to a CRAN mirror) because installing binary packages
is fast.
Cheers,
H.
On 10/26/2012 12:35 PM, Paul Bernal wrote:
Hello Hervé,
Im using Windows,
Best regards,
Paul
El 26/10/2012 14:17, Hervé Pagès hpa...@fhcrc.org
mailto:hpa...@fhcrc.org escribió:
Hi Paul,
If your question
started to work with R,
I always have 3 or more independent instances of R at the same time
on my laptop. They never interfere (when you install packages,
everything goes under R-2.14.2-instanceX/library/).
Cheers,
H.
Thanks,
Erin
--
Hervé Pagès
Program in Computational Biology
Division
(and able) to help you.
Cheers,
H.
Mohamed Lajnef wrote:
Dear R users,
Can someone explain me the interpretation of empirical p-value (
max(t)) used to test the genetic association with PLINK?
Any help will be appreciated
Regards
M
--
Hervé Pagès
Program in Computational Biology
:
In install.packages(XML) :
installation of package 'XML' had non-zero exit status
On Mon, Dec 1, 2008 at 1:42 PM, Hervé Pagès [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi Tiandao,
What OS do you have? How did you install R? It looks like
non-zero exit status
On Mon, Dec 1, 2008 at 4:05 PM, Hervé Pagès [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I'm taking this off-list for now.
Tiandao Li wrote:
[...]
library()
[...]
KernSmooth Functions for kernel smoothing for Wand Jones
69 matches
Mail list logo