[R] bayesm package not downloading via any mirror or repository
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Dec 10 07:48:41 CET 2008
On Tue, 9 Dec 2008, ekwaters wrote:
> OK still no luck, when, as you say it is clear that the package IS available.
> It really doesn't seem to matter what mirror I use and they can't all be
> down. I can install other packages such as LearnBayes, VCD etc with no
> issues, so can't be blocked at my end.
> My latest output:
>> install.packages("bayesm", dependencies=TRUE,
> Warning in install.packages("bayesm", dependencies = TRUE, repos =
> "http://cran.r-project.org/web/packages/bayesm/index.html") :
> argument 'lib' is missing: using /usr/local/lib/R/site-library
> Warning: unable to access index for repository
> dependency '‘bayesm’' is not available
That is not the correct repository for CRAN! Try
> # when I nominate a mirror via the interface (and believe me I've tried many
> different ones!)
We don't know exactly what you did, though. You could download the
.tar.gz file and use repos=NULL.
> --- Please select a CRAN mirror for use in this session ---
> Loading Tcl/Tk interface ... done
> Warning in download.packages(unique(pkgs), destdir = tmpd, available =
> available, :
> no package 'bayesm' at the repositories
> Uwe Ligges-3 wrote:
>> ekwaters wrote:
>>> I am a pretty new R user, I am running the latest linux version on
>>> updated with some extra debian packages, and I also run the latest
>>> version, but prefer linux.
>>> I am having trouble downloading "bayesm", it won't do it all from any of
>>> sites on the web, I resorted to this one,
>> If you use install.packages() note that you are downloading a source
>> package from a CRAN mirror rather than from some debian mirror.
>> Uwe Ligges
>> and got slightly
>>> further, but I think it is still not recognising a mirror. THis is my
>>> Warning in install.packages("bayesm") : argument 'lib' is missing: using
>>> --- Please select a CRAN mirror for use in this session ---
>>> Loading Tcl/Tk interface ... done
>>> Warning in download.packages(unique(pkgs), destdir = tmpd, available =
>>> available, :
>>> no package 'bayesm' at the repositories
>>> The package is certainly there.
>>> It could be my version of linux, I know.
>>> All I want to do is sample from a dirichlet prior, so I want rdirichlet
>>> ddirichlet commands basically. If anyone can help or suggest an alternate
>>> package that would be great.
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
> View this message in context: http://www.nabble.com/bayesm-package-not-downloading-via-any-mirror-or-repository-tp20906495p20926663.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help