[R] package MCMCpack

Prophet, William W||||@m@Prophet @end|ng |rom koch|nd@com
Wed Dec 4 14:47:27 CET 2019


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")

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]]



More information about the R-help mailing list