Skip to content

bayesm package not downloading via any mirror or repository

4 messages · ekwaters, Uwe Ligges, Brian Ripley

#
I am a pretty new R user, I am running the latest linux version on xandros,
updated with some extra debian packages, and I also run the latest windows
version, but prefer linux.

I am having trouble downloading "bayesm", it won't do it all from any of the
sites on the web, I resorted to this one,
http://packages.debian.org/unstable/math/r-cran-bayesm. and got slightly
further, but I think it is still not recognising a mirror. THis is my error
message:
Warning in install.packages("bayesm") : argument 'lib' is missing: using
/usr/local/lib/R/site-library
--- 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 and
ddirichlet commands basically. If anyone can help or suggest an alternate
package that would be great.

E
#
ekwaters wrote:
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
#
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:
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
http://cran.r-project.org/web/packages/bayesm/index.html/src/contrib
dependency '?bayesm?' is not available
  
# when I nominate a mirror via the interface (and believe me I've tried many
different ones!)

--- 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
E
Uwe Ligges-3 wrote:

  
    
#
On Tue, 9 Dec 2008, ekwaters wrote:

            
That is not the correct repository for CRAN!  Try
repos='http://cran.r-project.org"
We don't know exactly what you did, though.  You could download the 
.tar.gz file and use repos=NULL.