Dear Andy, Duncan, et al.
Based on comments from Andy and Duncan, I'd like to revise my
proposal as follows:
1. Rename the current "RSiteSearch.function" to
"findFunction" and the package name from "RSiteSearch.function" to
"findFunction", with "findFun" being an alias fo
On 6/5/2009 9:41 AM, spencerg wrote:
Liaw, Andy wrote:
From: spencerg
Thank you all for your suggestions. My goal with this
is to make
it as easy as possible for R users to find what they want in
contributed
packages. A referee for our "R Journal" manuscript complained that
"RSit
Liaw, Andy wrote:
From: spencerg
Thank you all for your suggestions. My goal with this
is to make
it as easy as possible for R users to find what they want in
contributed
packages. A referee for our "R Journal" manuscript complained that
"RSiteSearch.function" was too much to type
From: spencerg
>
> Thank you all for your suggestions. My goal with this
> is to make
> it as easy as possible for R users to find what they want in
> contributed
> packages. A referee for our "R Journal" manuscript complained that
> "RSiteSearch.function" was too much to type, sugges
Thank you all for your suggestions. My goal with this is to make
it as easy as possible for R users to find what they want in contributed
packages. A referee for our "R Journal" manuscript complained that
"RSiteSearch.function" was too much to type, suggesting we consider
masking "RSiteS
On Thu, Jun 4, 2009 at 1:38 PM, spencerg wrote:
> Gabor Grothendieck wrote:
>>
>> On Thu, Jun 4, 2009 at 12:13 PM, Duncan Murdoch
>> wrote:
>>
>>>
>>> Gabor Grothendieck wrote:
>>>
On Thu, Jun 4, 2009 at 1:58 AM, Duncan Murdoch
wrote:
>
> spencerg wrote:
>
>>
Gabor Grothendieck wrote:
On Thu, Jun 4, 2009 at 12:13 PM, Duncan Murdoch wrote:
Gabor Grothendieck wrote:
On Thu, Jun 4, 2009 at 1:58 AM, Duncan Murdoch
wrote:
spencerg wrote:
Hello All:
What do you think of adding a function "RSiteSeach" to the package
of
th
On Thu, Jun 4, 2009 at 12:13 PM, Duncan Murdoch wrote:
> Gabor Grothendieck wrote:
>>
>> On Thu, Jun 4, 2009 at 1:58 AM, Duncan Murdoch
>> wrote:
>>
>>>
>>> spencerg wrote:
>>>
Hello All:
What do you think of adding a function "RSiteSeach" to the package
of
that
Gabor Grothendieck wrote:
On Thu, Jun 4, 2009 at 1:58 AM, Duncan Murdoch wrote:
spencerg wrote:
Hello All:
What do you think of adding a function "RSiteSeach" to the package of
that name, masking the "RSiteSearch" function in "utils", trapping any call
RSiteSearch('searchstring',
On Thu, Jun 4, 2009 at 1:58 AM, Duncan Murdoch wrote:
> spencerg wrote:
>>
>> Hello All:
>>
>> What do you think of adding a function "RSiteSeach" to the package of
>> that name, masking the "RSiteSearch" function in "utils", trapping any call
>> RSiteSearch('searchstring', 'function') to the
spencerg wrote:
Hello All:
What do you think of adding a function "RSiteSeach" to the package
of that name, masking the "RSiteSearch" function in "utils", trapping
any call RSiteSearch('searchstring', 'function') to the current
RSiteSearch.function and passing all others to "utils:::R
If it were an entry on the Rgui menu on Windows then at
least Windows users could get to it quickly regardless of
the name.
2009/6/4 Romain François :
> One other comment was that the function name is a pain to type, which I
> believe is also true for "RSiteSearch". Considering we (I) might add ot
Having RSiteSearch.function be a strict superset of RSiteSearch might
make sense but giving them the same name seems too heavy
handed unless done via OO which seems not applicable here since
R's version is not generic and the two use the same class, "character",
anyways.
On Wed, Jun 3, 2009 at 5:3
Hello All:
What do you think of adding a function "RSiteSeach" to the package
of that name, masking the "RSiteSearch" function in "utils", trapping
any call RSiteSearch('searchstring', 'function') to the current
RSiteSearch.function and passing all others to "utils:::RSiteSearch"?
Thi
Philippe Grosjean wrote:
..<°}))><
) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
) ) ) ) ) Mons-Hainaut University, Belgium
( ( ( ( (
hadley wickham wrote:
> On Fri, May 8, 2009 at 10:11 AM, Romain Francois
> wrote:
>
>> strapply in package gsubfn brings elegance here:
>>
>>
>>> txt <- 'bar'
>>> rx <- "<(.*?)>(.*?)"
>>> strapply( txt, rx, c , perl = T )
>>>
>> [[1]]
>> [1] "foo" "bar" "foo"
>>
>> Too bad you have
Romain Francois wrote:
> strapply in package gsubfn brings elegance here:
>
> > txt <- 'bar'
> > rx <- "<(.*?)>(.*?)"
> > strapply( txt, rx, c , perl = T )
> [[1]]
> [1] "foo" "bar" "foo"
>
sure, but this does not, in any way, make it less strange that gsub is
not vectorized.
> Too bad you have
..<°}))><
) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
) ) ) ) ) Mons-Hainaut University, Belgium
( ( ( ( (
..
Romain
On Fri, May 8, 2009 at 10:11 AM, Romain Francois
wrote:
> strapply in package gsubfn brings elegance here:
>
>> txt <- 'bar'
>> rx <- "<(.*?)>(.*?)"
>> strapply( txt, rx, c , perl = T )
> [[1]]
> [1] "foo" "bar" "foo"
>
> Too bad you have to pay this on performance:
>
>> txt <- rep( 'bar', 1000 )
yes, and r graph gallery. those two would be easy to implement once the
system is up.
Philippe Grosjean wrote:
Don't forget R wiki in the list.
Best,
Philippe
..<°}))><
) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( (N
strapply in package gsubfn brings elegance here:
> txt <- 'bar'
> rx <- "<(.*?)>(.*?)"
> strapply( txt, rx, c , perl = T )
[[1]]
[1] "foo" "bar" "foo"
Too bad you have to pay this on performance:
> txt <- rep( 'bar', 1000 )
> rx <- "<(.*?)>(.*?)"
> system.time( out <- strapply( txt, rx, c , per
Don't forget R wiki in the list.
Best,
Philippe
..<°}))><
) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
) ) ) ) ) Mons-Hainaut University, Belgium
( ( ( ( (
..
Jonathan Baron wrote:
After reading all this, I favor doing one of two things:
1. Put all the search stuff, including the proposed gmane function, in
Spencer's new package but make it one of the default packages, like
utils, etc., or,
2. Put everything in utils, including Spencer's new pa
After reading all this, I favor doing one of two things:
1. Put all the search stuff, including the proposed gmane function, in
Spencer's new package but make it one of the default packages, like
utils, etc., or,
2. Put everything in utils, including Spencer's new package and the
gmane f
Romain Francois wrote:
>
>txt <- grep( '^ TRUE )
> rx <- '^.*?(.*?).*(.*?).*$'
>out <- data.frame(
>url = gsub( rx, "\\1", txt ),
>group = gsub( rx, "\\2", txt ),
>description = gsub( rx, "\\3", txt ),
looking at this bit of your code, i wonder why gsub is not
There is something to be said for taking all of these functions,
including the original RSiteSearch, out of utils and putting them in
the new RSiteSearch package. These are the sorts of things that will
get revised frequently, and this way (I think) we won't have to bother
whoever takes care of ut
On 05/07/09 13:48, Liaw, Andy wrote:
> From: Duncan Murdoch
> > I'll incorporate the changes if you like.
Yes. Please do. I understand that it won't take effect for a while.
When it does, I'll change my site.
What do you think
> > of the idea
> > of adding a gmane (or other archive) search
1. Whatever we do with the "RSiteSearch" function, it should
still be available every time R starts. If we put it in its own
package, it should still be autoloaded with "base", "utils", "stats", etc.
2. Sundar indicated to me that, "if Jonathan would like to remove
the search ca
Dear Jonathan,
On Thu, May 7, 2009 at 4:18 PM, Jonathan Baron wrote:
> can't imagine that someone would want to search just vignettes and not
> help pages, or the reverse.
>
Searching vignettes only can be of interest to users. If someone is
interested in (full-fledged) code examples, and not in
But help really needs to be delivered with R, not an addon.
It should not be necessary to know how to install packages
just to get this level of help. I think it needs to be where it
is now.
On Thu, May 7, 2009 at 4:02 PM, Liaw, Andy wrote:
>
> I agree! Recall, though, I had added the RSiteSear
I agree! Recall, though, I had added the RSiteSearch() functionality
to the Rgui under Windows (Help / search.r-project.org...), so if
RSiteSearch() is taken out, this need to go, too.
Best,
Andy
From: Jonathan Baron
>
> There is something to be said for taking all of these functions,
> inclu
We could have a few functions similar to RSiteSearch or gmaneSearch I
just posted and then cook a summary html page with R ...
Here is a function that grabs relevant groups from gmane:
gmaneGroups <- function( prefix = "gmane.comp.lang.r." ){
url <- URLencode( sprintf(
"http://dir.gmane.org
From: Jonathan Baron
>
> On 05/07/09 13:48, Liaw, Andy wrote:
> > From: Duncan Murdoch
> > > I'll incorporate the changes if you like.
>
> Yes. Please do. I understand that it won't take effect for a while.
> When it does, I'll change my site.
>
> What do you think
> > > of the idea
> > >
About this:
gmaneSearch <- function( string,
group = "gmane.comp.lang.r.*", author = "", sort = c("relevance",
"date", "revdate"),
op = c("and", "or") ){
sort <- match.arg(sort)
op <- match.arg( op )
url <- sprintf(
'http://search.gmane.org/?query=%s&author=%s&grou
From: Duncan Murdoch
>
> On 5/7/2009 10:18 AM, Jonathan Baron wrote:
> > On 05/07/09 10:05, Liaw, Andy wrote:
> >> Can someone in R Core please take a look at the attached patches to
> >> RSiteSearch() and its help page? I guess Jon is planning
> some changes
> >> on his site. Jon: could you
On 5/7/2009 10:18 AM, Jonathan Baron wrote:
On 05/07/09 10:05, Liaw, Andy wrote:
Can someone in R Core please take a look at the attached patches to
RSiteSearch() and its help page? I guess Jon is planning some changes
on his site. Jon: could you elaborate on what the patch does?
The idea i
From: Liaw, Andy
>
> From: Liaw, Andy
> >
> > Can someone in R Core please take a look at the attached patches to
> > RSiteSearch() and its help page? I guess Jon is planning
> some changes
> > on his site.
>
> Apparently the attachments were stripped off the first time.
> Here's a second
On 05/07/09 10:05, Liaw, Andy wrote:
> Can someone in R Core please take a look at the attached patches to
> RSiteSearch() and its help page? I guess Jon is planning some changes
> on his site. Jon: could you elaborate on what the patch does?
The idea is simply to remove the mail archives, so t
From: Liaw, Andy
>
> Can someone in R Core please take a look at the attached patches to
> RSiteSearch() and its help page? I guess Jon is planning some changes
> on his site.
Apparently the attachments were stripped off the first time. Here's a
second try.
I've already set "format" to "pla
39 matches
Mail list logo