> > pkgs <- 
> > as.data.frame(available.packages(contrib.url("http://cran.r-project.org";)))
> > pkgs[c("sn", "GOSim", "GammaTest"), c("Package", "Version")]
>       Package Version
> sn         sn   0.4-4
> GOSim   GOSim   1.1.2
> NA       <NA>    <NA>
>
> which match CRAN (which doesn't have GammaTest). So not sure what's going on.

I just figured it out:

> contrib.url(contrib.url("http://cran.r-project.org";))
[1] 
"http://cran.r-project.org/bin/macosx/universal/contrib/2.6/bin/macosx/universal/contrib/2.6";
> contrib.url("http://cran.r-project.org";, type="source")
[1] "http://cran.r-project.org/src/contrib";

Oops - thanks for the help.

Hadley


-- 
http://had.co.nz/

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

Reply via email to