[R] package MCMCpack

William Michels wjm1 @end|ng |rom c@@@co|umb|@@edu
Wed Dec 4 23:44:53 CET 2019


Hi William,

It's not clear to me why you need this particular older version of
MCMCpack. From the archive I find MCMCpack_1.2-4 dates back to
2012-06-14, and MCMCpack_1.2-4.1 dates back to 2013-04-07:

MCMCpack_1.2-4.1.tar.gz 2013-04-07 00:05 481K
MCMCpack_1.2-4.tar.gz 2012-06-14 12:36 482K

Have you tried newer versions of MCMCpack? While the newest version of
MCMCpack (1.4-5) may require R (≥ 3.6), I have sessionInfo() logs
suggesting that MCMCpack_1.4-3 (2018-05-15 09:54 672K) ran just fine
under R version 3.3.3 (2017-03-06) -- "Another Canoe". In fact, an
archived version of the MCMCpack_1.4-3 DESCRIPTION_file indicates that
MCMCpack_1.4-3 only requires  R (>= 2.10.0).

Hope this helps,

Bill.

W. Michels, Ph.D.





On Wed, Dec 4, 2019 at 7:34 AM Prophet, William
<William.Prophet using kochind.com> wrote:
>
> Yes, I should have mentioned that I tried this same line of code and I still got an error.
>
>
> -----Original Message-----
> From: Duncan Murdoch <murdoch.duncan using gmail.com>
> Sent: Wednesday, December 4, 2019 8:32 AM
> To: Prophet, William <William.Prophet using kochind.com>; r-help using r-project.org
> Subject: Re: [R] package MCMCpack
>
> Sent by an external sender
>
> ----------------------------------------------------------------------
> On 04/12/2019 8:47 a.m., Prophet, William wrote:
> > I am running R on my work computer with the following parameters:
> >> sessionInfo()
> > R version 3.5.3 (2019-03-11)
> > Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8
> > x64 (build 9200)
> >
> >
> > I am trying to install the "MCMCpack" library. In the process however, I receive the message:
> >
> >> install.packages("MCMCpack")
> >
> > Warning in install.packages :
> >
> >    package 'MCMCpack' is not available (for R version 3.5.3)
> >
> >
> > I have tried to install earlier versions of the "MCMCpack" library which I obtained from the following website:
> > https://cran.r-project.org/src/contrib/Archive/MCMCpack/
> >
> > using the following code:
> > packageurl <- "https://cran.r-project.org/src/contrib/Archive/MCMCpack/MCMCpack_1.2-4.tar.gz"
> > install.packages(packageurl, type="source")
>
> That's not the way to install a tarball.  You should use
>
> install.packages(packageurl, type="source", repos=NULL)
>
> However, you may still have problems:  when I tried that, the install failed because of C++ errors.  I don't know if configure options (e.g.
> specifying a particular version of C++) would have fixed the problems.
>
> Duncan Murdoch
>
> >
> > but I get an identical error message:
> >
> >> packageurl <- "https://cran.r-project.org/src/contrib/Archive/MCMCpack/MCMCpack_1.2-4.tar.gz"
> >
> >> install.packages(packageurl, type="source")
> >
> > Warning in install.packages :
> >
> >    package
> > 'https://cran.r-project.org/src/contrib/Archive/MCMCpack/MCMCpack_1.2-
> > 4.tar.gz' is not available (for R version 3.5.3)
> >
> >
> >
> > I realize that updating my R version to 3.6.1 could possibly solve the problem, but this would be impractical for me because my version needs to be consistent with others on my team. In any case, the fact that I am getting errors (detailed above) with *every* version of "MCMCpack" seems odd.
> >
> > Do you have any suggestions for how I can install a working version of "MCMCpack" for my version of R?
> >
> > Thank you,
> > Bill
> >
> >
> >
> >
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list