Question: "Error in contrib.url(repos, type) : trying to use CRAN without setting a mirror" Error when installing package
3.4 years ago by
Apoorva • 260
Apoorva • 260 wrote:
I am trying to install a package a few packages from the source for R shiny-server,
sudo su - -c "R -e \"source('https://s3-us-west-2.amazonaws.com/10x.files/supp/cell-exp/rkit-install-1.1.0.R')\""
but the command is giving me an error
Error in contrib.url(repos, type) : trying to use CRAN without setting a mirror Calls: source ... eval -> eval -> install.packages -> grep -> contrib.url Execution halted
How do i fix this ?
ADD COMMENT • link •