Trying to install the 'mvtnorm' and 'multcomp' packages in R-studio, which are dependencies for the 'coin' package I need to use.
> install.packages('mvtnorm')
Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘mvtnorm’
These will not be installed
The same error comes up when I try to install multcomp. Can anyone help with this issue?
Updating your R version will fix this issue.
After updating your R version you can simply run install.packages('mvtnorm', dep = TRUE) and it will install the package for you.
You can alternatively download the package source ".tar.gz" file from here - https://cran.r-project.org/web/packages/mvtnorm/index.html
then install the package by executing install.packages(path_to_file, repos = NULL, type="source") replacing the path_to_file with the path to the downloaded file.
Hope this helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With