Search This Blog

Tuesday, August 25, 2015

Steps for installing dismo in R

Steps for installing dismo in your R distribution are fairly straight forward.

First login to R using sudo, so your package can be installed to the shared repository

sudo R




Next, enter the following command in R prompt

install.packages("dismo")



By default, R prompts for https mirrors. For some reason, https mirrors gave me errors. For this reason select the option for HTTP mirrors at the bottom of the list, as shown below.


Next, choose your preferred mirror from the list of http mirrors, as shown below


Click OK to install. R will download the packages and install as neccessary.



Once the installation, has finished load the library using the following command and we are good to go.

library(dismo)



That's it...

No comments: