Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-09-07 Thread Jonathan Baron

Spencer,

Thanks for the quick reply.

I am open to someone who knows Perl getting an account on my site and
trying to get it working. It will probably involve fixing more than
one thing, as mknmz depends on some perl modules that also generate
errors.

My main contribution is figuring out how to extract the html help
files and vignettes only, with some help from R developers and Fedora
maintainers. Here is the trick, for someone who wants to do it:

m0 <- rownames(installed.packages())
m1 <- m0[which(m0 %in% needed.packages)]
source("http://bioconductor.org/biocLite.R";)
update.packages(oldPkgs=m1,repos=biocinstallRepos())
update.packages(dependencies=FALSE,INSTALL_opts=c("--no-configure","--no-test-load","--no-R","--no-clean-on-error","--no-libs","--no-data","--no-demo","--no-exec","--html"),repos=biocinstallRepos(),ask=F)
m3 <- new.packages()
install.packages(m3,dependencies=FALSE,INSTALL_opts=c("--no-configure","--no-test-load","--no-R","--no-clean-on-error","--no-libs","--no-data","--no-demo","--no-exec","--html"),repos=biocinstallRepos())

Note 1: The first 4 lines are designed to deal with a list of the
packages that you actually use. These can be eliminated if you don't
use R on the same machine. The last 3 lines are all you need.

Note 2: This works on Fedora, but I think that the Fedora maintainers
of R have set some defaults that are helpful.

Jon

On 09/07/16 15:41, Spencer Graves wrote:

Hello, All:


  Jonathan Baron is "giving up" maintaining the RSiteSearch database.


  This breaks three things:  (1) The R Site Search web service that 
Baron has maintained.  (2) The RSiteSearch function in the utils 
package.  (3) The sos package, for which I'm the maintainer and lead 
author.



  Might someone else be willing to take these over?


  For me, the "findFn" capability with "writeFindFn2xls" is the 
fastest literature search for anything statistical.  However, I don't 
have the resources to take over the management of Baron's R Site Search 
database.



  He's provided a great service for the R community for many 
years.  I hope we can find a way to keep the system maintained. Failing 
that, I could use help in adapting the sos package to another database.



  Thanks,
  Spencer Graves


 Forwarded Message 
Subject:Re: RSiteSearch, sos, rdocumentation.org, ...?
Date:   Wed, 7 Sep 2016 16:15:22 -0400
From:   Jonathan Baron 
To: Spencer Graves 
CC: 	Jonathan Baron , chris.is@gmail.com, 
i...@datacamp.com , Sundar Dorai-Raj 
, webmaster@www.r-project-org




R site search has stopped working. The indexing scrip, mknmz, failed
to complete. It has been producing more and more errors and warnings,
since it has not been updated for 5 yeaers.

I am giving up on this site. I have too many other things to do aside
from find bugs in programs written in languages I don't know (Perl),
or set up an alternative search engine.

Please inform anyone else who needs to be informed.

I cannot find the email of the www.r-project.org webmaster, so I'm
taking a stab. There are several links to this site in those pages.

Jon
--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)



--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-09-07 Thread Jonathan Baron

Don't do anything yet. I may have found the problem by accident.

I tried to use the computer from something else, and it was being
drastically slowed down by some leftover processes, which turned out
to be xlhtml. That is something that converts Excel files. Apparently,
some excel files got into the libraries, and they were causing the
indexing to hang completely.

I am now running everything again, starting from scratch, and it might
work. (I'm doing it wrong, but it is 3/4 done. I will do it right
tomorrow, if it works overnight.)

Jon

On 09/07/16 16:53, Jonathan Baron wrote:

Spencer,

Thanks for the quick reply.

I am open to someone who knows Perl getting an account on my site and
trying to get it working. It will probably involve fixing more than
one thing, as mknmz depends on some perl modules that also generate
errors.

My main contribution is figuring out how to extract the html help
files and vignettes only, with some help from R developers and Fedora
maintainers. Here is the trick, for someone who wants to do it:

m0 <- rownames(installed.packages())
m1 <- m0[which(m0 %in% needed.packages)]
source("http://bioconductor.org/biocLite.R";)
update.packages(oldPkgs=m1,repos=biocinstallRepos())
update.packages(dependencies=FALSE,INSTALL_opts=c("--no-configure","--no-test-load","
--no-R","--no-clean-on-error","--no-libs","--no-data","--no-demo","--no-exec","--html
"),repos=biocinstallRepos(),ask=F)
m3 <- new.packages()
install.packages(m3,dependencies=FALSE,INSTALL_opts=c("--no-configure","--no-test-loa
d","--no-R","--no-clean-on-error","--no-libs","--no-data","--no-demo","--no-exec","--
html"),repos=biocinstallRepos())

Note 1: The first 4 lines are designed to deal with a list of the
packages that you actually use. These can be eliminated if you don't
use R on the same machine. The last 3 lines are all you need.

Note 2: This works on Fedora, but I think that the Fedora maintainers
of R have set some defaults that are helpful.

Jon

On 09/07/16 15:41, Spencer Graves wrote:

Hello, All:


  Jonathan Baron is "giving up" maintaining the RSiteSearch database.


  This breaks three things:  (1) The R Site Search web service that 
Baron has maintained.  (2) The RSiteSearch function in the utils 
package.  (3) The sos package, for which I'm the maintainer and lead 
author.



  Might someone else be willing to take these over?


  For me, the "findFn" capability with "writeFindFn2xls" is the 
fastest literature search for anything statistical.  However, I don't 
have the resources to take over the management of Baron's R Site Search 
database.



  He's provided a great service for the R community for many 
years.  I hope we can find a way to keep the system maintained. Failing 
that, I could use help in adapting the sos package to another database.



  Thanks,
  Spencer Graves


 Forwarded Message 
Subject:Re: RSiteSearch, sos, rdocumentation.org, ...?
Date:   Wed, 7 Sep 2016 16:15:22 -0400
From:   Jonathan Baron 
To: Spencer Graves 
CC: 	Jonathan Baron , chris.is@gmail.com, 
i...@datacamp.com , Sundar Dorai-Raj 
, webmaster@www.r-project-org




R site search has stopped working. The indexing scrip, mknmz, failed
to complete. It has been producing more and more errors and warnings,
since it has not been updated for 5 yeaers.

I am giving up on this site. I have too many other things to do aside
from find bugs in programs written in languages I don't know (Perl),
or set up an alternative search engine.

Please inform anyone else who needs to be informed.

I cannot find the email of the www.r-project.org webmaster, so I'm
taking a stab. There are several links to this site in those pages.

Jon
--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)



--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)


--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-09-08 Thread Jonathan Baron

OK.  It is sort of fixed and sort of works.

We'll keep it for now, but this is not going to work forever. When
namazu fails completely I will not have the time to install a new
search engine.

One option is to use google. For a site like this, I think they will
want some money, but I'm not sure, and I do not have the time to deal
with it.

We have over 10,000 packages now. I wonder if searching all help files
is really helpful anymore.

Jon

On 09/07/16 22:06, Jonathan Baron wrote:

Don't do anything yet. I may have found the problem by accident.

I tried to use the computer from something else, and it was being
drastically slowed down by some leftover processes, which turned out
to be xlhtml. That is something that converts Excel files. Apparently,
some excel files got into the libraries, and they were causing the
indexing to hang completely.

I am now running everything again, starting from scratch, and it might
work. (I'm doing it wrong, but it is 3/4 done. I will do it right
tomorrow, if it works overnight.)

Jon

On 09/07/16 16:53, Jonathan Baron wrote:

Spencer,

Thanks for the quick reply.

I am open to someone who knows Perl getting an account on my site and
trying to get it working. It will probably involve fixing more than
one thing, as mknmz depends on some perl modules that also generate
errors.

My main contribution is figuring out how to extract the html help
files and vignettes only, with some help from R developers and Fedora
maintainers. Here is the trick, for someone who wants to do it:

m0 <- rownames(installed.packages())
m1 <- m0[which(m0 %in% needed.packages)]
source("http://bioconductor.org/biocLite.R";)
update.packages(oldPkgs=m1,repos=biocinstallRepos())
update.packages(dependencies=FALSE,INSTALL_opts=c("--no-configure","--no-test-load",

"

--no-R","--no-clean-on-error","--no-libs","--no-data","--no-demo","--no-exec","--htm

l

"),repos=biocinstallRepos(),ask=F)
m3 <- new.packages()
install.packages(m3,dependencies=FALSE,INSTALL_opts=c("--no-configure","--no-test-lo

a

d","--no-R","--no-clean-on-error","--no-libs","--no-data","--no-demo","--no-exec","-

-

html"),repos=biocinstallRepos())

Note 1: The first 4 lines are designed to deal with a list of the
packages that you actually use. These can be eliminated if you don't
use R on the same machine. The last 3 lines are all you need.

Note 2: This works on Fedora, but I think that the Fedora maintainers
of R have set some defaults that are helpful.

Jon

On 09/07/16 15:41, Spencer Graves wrote:

Hello, All:


  Jonathan Baron is "giving up" maintaining the RSiteSearch database.


  This breaks three things:  (1) The R Site Search web service that 
Baron has maintained.  (2) The RSiteSearch function in the utils 
package.  (3) The sos package, for which I'm the maintainer and lead 
author.



  Might someone else be willing to take these over?


  For me, the "findFn" capability with "writeFindFn2xls" is the 
fastest literature search for anything statistical.  However, I don't 
have the resources to take over the management of Baron's R Site Search 
database.



  He's provided a great service for the R community for many 
years.  I hope we can find a way to keep the system maintained. Failing 
that, I could use help in adapting the sos package to another database.



  Thanks,
  Spencer Graves


 Forwarded Message 
Subject:Re: RSiteSearch, sos, rdocumentation.org, ...?
Date:   Wed, 7 Sep 2016 16:15:22 -0400
From:   Jonathan Baron 
To: Spencer Graves 
CC: 	Jonathan Baron , chris.is@gmail.com, 
i...@datacamp.com , Sundar Dorai-Raj 
, webmaster@www.r-project-org




R site search has stopped working. The indexing scrip, mknmz, failed
to complete. It has been producing more and more errors and warnings,
since it has not been updated for 5 yeaers.

I am giving up on this site. I have too many other things to do aside
from find bugs in programs written in languages I don't know (Perl),
or set up an alternative search engine.

Please inform anyone else who needs to be informed.

I cannot find the email of the www.r-project.org webmaster, so I'm
taking a stab. There are several links to this site in those pages.

Jon
--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)



--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)


--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgmen

Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-09-08 Thread Jonathan Baron

I looked at rdocumentation.org. At first I thought it was a superior
replacement for namazu, but after I tried a few things I decided that
it wasn't. I could not find any documentation about how to search, and
the various things I tried seemed to yield very strange responses,
e.g., a search for "Hayes mediation bootstrap" gave me mostly
functions that had nothing to do with the search except for the word
"bootstrap".

So I managed to fix the major Perl module errors (one of which was
quite bothersome although not fatal ... yet). And I figured out a new
way to create the indices that namazu uses; the new way is more
selective. And things seem to work now. Aside from the problems I just
fixed, this is not hard to maintain, so I will continue.

It also seems that someone IS sort of maintaining namazu,
sporadically. There is a Fedora rpm for it. That was how I found out
how to fix the Perl module.

But I did end up spending a few hours on this on a day when I am
behind writing action letters, etc. etc. And ultimately I cannot do
this forever and would love it if someone else took it over, or at
least helped, with an account on my server.

Jon

On 09/08/16 06:36, Dirk Eddelbuettel wrote:


On 8 September 2016 at 06:01, Jonathan Baron wrote:
| We have over 10,000 packages now. I wonder if searching all help files
| is really helpful anymore.

Yes it is. I go to http://rdocumentation.org a lot for quick look-ups.

So thanks to Datacamp for running that.  


Dirk

--
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org


--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-09-08 Thread Jonathan Baron

On 09/08/16 07:09, John Merrill wrote:

Given Google's commitment to R, I don't think that they'd be at all averse
to supporting a custom search box on the package page. It might well be a
good thing for "someone" to examine the API for setting up such a page and
to investigate how to mark the main CRAN page as searchable.


The main CRAN page is not ideal. We need to be able to search the help
files. My site has only the html help files for each package (except
the ones I use, which are fully installed), so someone should
re-create that. The CRAN page has a "Reference manual" in pdf for
every package, but the individual functions are not separated.

But, yes, Google would work, even for my page. And the sos package
would have to be modified for that. As I said, I'm not going to do
this. But I would welcome it.

Jon
--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-12-17 Thread Jonathan Baron

Spencer and others.

I am going to have to take down the server for RSiteSearch, which is
finzi.psych.upenn.edu, for at least a couple of days starting Sunday
morning. It has been hacked. And I have another server that has also
been hacked, which is higher priority (sjdm.org). On Monday, I will
probably have time to rebuild that one, but I may not have time to
rebuild finzi for another week. I will try to get it all done in one
day, but I don't know if I can.

Sorry about this.

I thought that there was an alternative to this site, namely
http://rdocumentation.org/
but, as bad is my site is, that one, I think, is worse.

Jon

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-12-21 Thread Jonathan Baron

Unfortunately, I am unable to get this search site working again. (The
message below explains why I had to rebuild it.)

The computer worked for the better part of a day downloading and
installing all the help files from all CRAN packages. Somehow it
failed to get the vignettes this time. But I pushed ahead and ran the
part of namazu that makes the search indices: mknmz. And you can see
the results if you go to finzi.psych.upenn.edu. The search works, but
then you can't get the actual help pages.

The problem seems to be that namazu search is ignoring the "Replace"
rules in the configuration file, namazurc. I have tried 4 versions of
that file, in combination with 3 versions of namazu-cgi, and nothing
works. Note that the last version of namzu was about 2009, the result
of some fixes by linux distribution maintainers, not by the original
creators, who gave up a few years before.

If someone wants to replace namazu with a different search engine, let
me know. I do have a server with all the help files.

And I can tell you how I made them if you want to do this somewhere
else. The trick is:

update.packages(dependencies=FALSE,INSTALL_opts=c("--no-configure","--no-test-load","--no-R","--no-clean-on-error","--no-libs","--no-data","--no-demo","--no-exec","--html"),repos=biocinstallRepos(),ask=F)

and

install.packages(m3,dependencies=FALSE,INSTALL_opts=c("--no-configure","--no-test-load","--no-R","--no-clean-on-error","--no-libs","--no-data","--no-demo","--no-exec","--html"),repos=biocinstallRepos())

This works as is in the fedora version of R, which I think is modified
(for my benefit, about 10 years ago) from the distribution version,
and I think I know what the modification is. The first is for packages
I already have. The second can be used to build the site.

(I use the bioconductor repository because most of the time it doesn't
matter, but there were once a few packages that were only there, ones
that I used myself, like multtest.)

Of course, if there is a human being who reads this and wants to
fiddle with namazu, he or she should contact me.

Jon

On 12/17/16 15:32, Jonathan Baron wrote:

Spencer and others.

I am going to have to take down the server for RSiteSearch, which is
finzi.psych.upenn.edu, for at least a couple of days starting Sunday
morning. It has been hacked. And I have another server that has also
been hacked, which is higher priority (sjdm.org). On Monday, I will
probably have time to rebuild that one, but I may not have time to
rebuild finzi for another week. I will try to get it all done in one
day, but I don't know if I can.

Sorry about this.

I thought that there was an alternative to this site, namely
http://rdocumentation.org/
but, as bad is my site is, that one, I think, is worse.

Jon


--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-12-22 Thread Jonathan Baron

The site is working again, although for some reason it did not
download any vignettes. I think that is OK.

On 12/21/16 18:22, Jonathan Baron wrote:

Unfortunately, I am unable to get this search site working again. (The
message below explains why I had to rebuild it.)


--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] RSiteSearch

2012-03-30 Thread Jonathan Baron
I don't know what the RSiteSearch function does anymore, or who
maintains it. Please ignore this if you have nothing to do with it.

I recently moved my R site, finzi.psych.upenn.edu to a new
computer. Somehow some of the mailing-list search capabilities were
lost, and I do not have time to find the problem. Because I have not
been maintaining these lists at all since 2010, I decided that the
simplest thing was just to remove them all from the search
path. Again, some of them haven't been working anyway for a few weeks,
and I have had only one complaint. (And there are much better ways to
search mailing lists now.)

The functions, task views, and vignette searches still work.

Eventually I would like to move to a different search engine for
functions, task views, and vignettes. But it isn't that hard to
maintain the current one (Namazu) as well, if you want me to do that.

Jon
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Jonathan Baron
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 the search will be
only of functions' help pages.  Eventually I will also add package
vignettes, but I don't think we need anything special for that.  I
can't imagine that someone would want to search just vignettes and not
help pages, or the reverse.

The reasons are: 1. The mail archives are becoming increasingly
difficult and time consuming for me to maintain.  2. There are now
three other ways of searching mail archives, all of which seem much
better than mine, but there seem to be no other good ways to search
help pages for functions, and, indeed, the new RSiteSearch packages
does only functions.  3. With only functions it would be much easier
for someone to set up a complete mirror of my site, which seems like a
good idea.

Jon
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] proposed changes to RSiteSearch

2009-05-08 Thread 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 
> > of adding a gmane (or other archive) search to your results 
> > page?  Then 
> > if someone doesn't like what the man pages show, you can send them 
> > somewhere else, rather than leaving them to find out the 
> > other resources 
> > themselves.
> > 
> > gmane has sample code for this on their search page 
> > search.gmane.org, so 
> > it looks reasonably easy.  I'd suggest following their last example, 
> > with a drop-down box to select mailing lists, with 
> > comp.lang.r.* as an 
> > option for "all lists".
> > 
> > Duncan Murdoch

Good idea.  I will do this.  But there are also two other good search
engines.  Maybe I'll add all three search alternatives.  But then,
according to Sheena Iyengar, people won't choose any!  Hmm.

> Actually, I was thinking about a possible RHelpSearch() in addition, if
> Jon is no longer going to include the R-help archive in the search.  I
> used the current RSiteSearch() a lot more for searching R-help archive
> than functions in packages.  Ideas?  comments?

This is OK with me, but I don't want to do it.  I guess it would
search gmane.  MarkMail is also pretty good, as is
http://tolstoy.newcastle.edu.au/R/ All these are much better than
Namazu for searching the R-help list.

Jon
 
> Andy 
> Notice:  This e-mail message, together with any attach...{{dropped:18}}

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] proposed changes to RSiteSearch

2009-05-08 Thread Jonathan Baron
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 utils, which is part of the regular R
distribution.

I'm adding Spencer Graves to the cc list.  Maybe he is interested in
doing this.

Jon

On 05/07/09 20:54, Romain Francois wrote:
> 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/index.php?prefix=%s";, prefix) )
> txt <- grep( '^ TRUE )
>
> rx <- '^.*?(.*?).*(.*?).*$'
> out <- data.frame(
> url = gsub( rx, "\\1", txt ),
> group = gsub( rx, "\\2", txt ),
> description = gsub( rx, "\\3", txt ),
> stringsAsFactors = FALSE
> )
> out$group <- sub( "...", ".*", out$group, fixed = TRUE )
> out
> }
> 
> I'll clean this up and write a man page if there is interest in adding 
> this to R, but this might be more appropriate in a package, for example: 
> http://r-forge.r-project.org/projects/rsitesearch/
> 
> Romain
> 
> Liaw, Andy wrote:
> > 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 
> >>>> of adding a gmane (or other archive) search to your results 
> >>>> page?  Then 
> >>>> if someone doesn't like what the man pages show, you can 
> >>>> 
> >> send them 
> >> 
> >>>> somewhere else, rather than leaving them to find out the 
> >>>> other resources 
> >>>> themselves.
> >>>>
> >>>> gmane has sample code for this on their search page 
> >>>> search.gmane.org, so 
> >>>> it looks reasonably easy.  I'd suggest following their 
> >>>> 
> >> last example, 
> >> 
> >>>> with a drop-down box to select mailing lists, with 
> >>>> comp.lang.r.* as an 
> >>>> option for "all lists".
> >>>>
> >>>> Duncan Murdoch
> >>>> 
> >> Good idea.  I will do this.  But there are also two other good search
> >> engines.  Maybe I'll add all three search alternatives.  But then,
> >> according to Sheena Iyengar, people won't choose any!  Hmm.
> >>
> >> 
> >>> Actually, I was thinking about a possible RHelpSearch() in 
> >>>   
> >> addition, if
> >> 
> >>> Jon is no longer going to include the R-help archive in the 
> >>>   
> >> search.  I
> >> 
> >>> used the current RSiteSearch() a lot more for searching 
> >>>   
> >> R-help archive
> >> 
> >>> than functions in packages.  Ideas?  comments?
> >>>   
> >> This is OK with me, but I don't want to do it.  I guess it would
> >> search gmane.  MarkMail is also pretty good, as is
> >> http://tolstoy.newcastle.edu.au/R/ All these are much better than
> >> Namazu for searching the R-help list.
> >> 
> >
> > Sorry I didn't make it clear:  I meant something like the gmaneSearcg()
> > that Romain posted, not hitting your site.
> >
> > Best,
> > Andy
> >  
> >   
> >> Jon
> >> 
> 
> 
> -- 
> Romain Francois
> Independent R Consultant
> +33(0) 6 28 91 30 30
> http://romainfrancois.blog.free.fr
> 

-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] proposed changes to RSiteSearch

2009-05-08 Thread Jonathan Baron
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 function.

I do not know enough to choose between these.

On 05/07/09 14:42, spencerg wrote:
>   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. 

Good point.

>   2.  Sundar indicated to me that, "if Jonathan would like to remove 
> the search capability, it would be rather simple to move RSiteSearch to 
> nabble" for the listserve archives.  The "RSiteSearch" function could be 
> modified to combine that with a separate search of only the help pages 
> on Jonathan's server. 

I do not understand "rather simple" at all.  For those who are
interested, I've put my notes on how to manage my site (which still
need a bit of revision, but this will give you some idea of what is
involved) in

http://finzi.psych.upenn.edu/~baron/notes.namazu.txt

The problem is that I have not found a way to automate this, so I
still spend several hours each month doing it by hand.  Too many
little glitches come up along the way, and the main problem is the
mailing lists.  Moreover, Namazu just doesn't work all that well for
mailing lists of this size, because of the page footers in each post.
(Now I remove them.  That was a bad idea.  But if we're going to get
rid of this anyway I will not take the time to figure out how to put
them back properly.)

Also, Liviu Androic argued that vignettes should be searchable
separately from help pages.  This makes sense, but I would strongly
prefer to move ahead on other changes and leave this until later.
The need for this sort of modification is what makes me favor option
#1 at the beginning (separate package) on the theory that it would be
easier for me to make changes than if it were part of utils, but I
don't know how this works.

So, if someone can make a decision about how to proceed, I'll do what
I can, as soon as I can.

Jon
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] RSiteSearch and my R site

2009-11-08 Thread Jonathan Baron
Duncan,

This is not a problem with anything you just did, but I'm writing you
and ccing r-devel, in case I am allowed to post there (which I think
I'm not).

The problem (in case this gets to r-devel) is that I need to have
static html files for all packages, and static html ONLY for new
packages.  You have fixed the latter problem in the latest version of
R-devel (11/08/09), in "R CMD INSTALL".  But when I install R-devel
from source I cannot get all the html files.  The configure script has
an option for --enable-prebuilt-html, and this does build the static
html files for about half of the standard packages!  These include
base, utils, tools, ..., but they do not include datasets, boot,
cluster, ...

I can of course work around this by using your new version of R CMD
INSTALL after installing everything else.  It does not wipe out the
executables that are already installed (I think).  But this might
actually be a bug that was not intended.

Jon
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] request to make --enable-prebuilt-html the default build on linux

2009-12-05 Thread Jonathan Baron
I don't understand the advantages of generating html help dynamically,
but I have found some clear disadvantages.

One is that I can no longer use a bookmark in my browser to access the
list of packages and go from there to individual help pages.

The other is that, if I try to use ESS instead (using
options(help_type="html") in .Rprofile) - it is a mess.  ESS splits
the emacs frame (which then must be closed by hand) and opens a new
window (or at best a new tab) for every request, requiring these to be
closed too.

You could say that this is a problem with ESS, which is true, but,
again, I don't see the down side of having static html help pages.
(Maybe there is one.  But it certainly isn't disk space: all together
these take about as much of that as a couple of digital photos.)

Jon
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] make.packages.html - solved

2008-05-27 Thread Jonathan Baron
Found the solution.  Perhaps it is specific to the RPM, but the file
is now in /usr/share/doc/R-2.7.0/html/

Sorry.

On 05/26/08 19:23, Jonathan Baron wrote:
> It used to be that, whenever I added or updated a new package, the
> file /usr/lib/R/doc/html/packages.html would be updated (on Linux).
> Now I find that this does not happen anymore.  So I found this
> function make.packages.html, which seems to do what I think should be
> done automatically.  But it puts its output in a file in /tmp/...,
> which I then have to move, in an extra step, to where it should be.  I
> don't understand why this happens.  I think that the old behavior was
> better.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel