When installing R packages (say mcmcpack
in this example) under Ubuntu I have the choice between the following two methods of installation:
# Let the distribution's packaging system take care of installation/upgrades
apt-get install r-cran-mcmcpack
# Let R take care of installation/upgrades
install.packages("mcmcpack")
Questions:
- Is any of the two ways of installing R packages considered "best practice"?
- Assume that I first
install.packages("mcmcpack")
and later onapt-get install r-cran-mcmcpack
- should I expect trouble? - Assume that I first
apt-get install r-cran-mcmcpack
and later oninstall.packages("mcmcpack")
- should I expect trouble?