Error in package installation?

2

I'm trying to install this following map generation package but it's giving the following error

install.packages ("maptools", dep = TRUE) Installing package into 'C: /Users/rafael/Documents/R/win-library/3.0' (as 'lib' is unspecified) --- Please select a CRAN mirror for use in this session --- Warning: unable to access index for repository link Warning: unable to access index for repository link Missed warning messages: 1: In open.connection (with, "r"):   could not connect to 'cran.r-project.org' on port 80. 2: package 'maptools' is not available (for R version 3.0.2)

Does anyone know how to solve it?

    
asked by anonymous 23.09.2014 / 20:10

1 answer

1

Rafael, if you are using RStudio simply specify the path where I placed the red arrow and then install it by typing the package name there in Packages.

If you specify from the menu you can install via install.packages("maptools") .

    
24.09.2014 / 22:36