[R] simultaneous equation estimation?

John Fox jfox at mcmaster.ca
Sun Nov 18 05:21:02 CET 2001


Dear Ben,

Your CRANsearch package seems like a very useful idea, but I've had trouble 
getting it to work; following your examples,

 > library(CRANsearch)
 > cind <- create.CRAN.index()
trying URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES'
Content type `text/plain' length 5677 bytes
opened URL
downloaded 5677 bytes

trying URL 
`http://cran.r-project.org/bin/windows/contrib/Descriptions/AnalyzeFMRI.INDEX'
Error in download.file(paste(descrip, "/", pkg, ".INDEX", sep = ""), 
paste(pkg,  :
         cannot open: HTTP status was `404'
 > help.search.CRAN("structur",cind)
Error in help.search.CRAN("structur", cind) :
         Can't find CRAN index file to load
 > help.search.CRAN("structur",cind,packages.only=TRUE)
Error in help.search.CRAN("structur", cind, packages.only = TRUE) :
         Can't find CRAN index file to load
 > help.search.CRAN("2SLS",cind) ## still doesn't work -- experts are better...
Error in help.search.CRAN("2SLS", cind) : Can't find CRAN index file to load
 >

This is on a Windows 2000 PC running version 1.3.1 of R.

John

At 11:04 AM 11/16/2001 -0500, Ben Bolker wrote:
>On Mon, 12 Nov 2001, John Fox wrote:
>
> > A more general question that is implicit in many postings to the list is
> > how to find functions in contributed packages on CRAN. One can use the
> > help.search function for this purpose to search installed packages, but I'm
> > unaware of a means for searching the contents of *all* packages. It would
> > be nice to be able to do so.
> >
>
>   Somewhere within my "bbmisc" package bundle (available from
>http://www.zoo.ufl.edu/bolker/R/linux or .../R/windows) is a package
>"CRANsearch".  The function CRAN.create.index() downloads all of the
>current package descriptions from
>CRAN, processes them slightly, and stores a local copy.  One can then use
>a function "help.search.CRAN" to do the equivalent of "help.search" over
>all of those packages ...
>
>   e.g.
>
>cind <- create.CRAN.index()
>help.search.CRAN("structur",cind)
>help.search.CRAN("structur",cind,packages.only=TRUE)
>help.search.CRAN("2SLS",cind) ## still doesn't work -- experts are better...

-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox
-----------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list