If you need an R package that is not in CRAN (unusual): Set the default mirror by adding a setting to your.Note: Make sure to replace package_name_here in the above example with the name of the package you want to install. Install.packages ("package_name_here", repo="") Specify the Duke CRAN mirror alongside the package name:.In the list of http mirrors, choose the Duke mirror: "USA (NC)".Choose the last item in the list: "http mirrors".A list of available mirrors will be presented.Select a mirror from the pop-up list without specifying the CRAN mirror - install.packages ("package_name_here") – or click “Packages -> Select CRAN Mirror” on the top menu bar.Specify the Duke mirror in one of three ways: R Packages are accessible via CRAN only from the Duke CRAN mirror.
0 Comments
Leave a Reply. |