Error in Package Installation?

Asked

Viewed 2,792 times

2

I am trying to install this next map generation package but is 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 http://cran-r.c3sl.ufpr.br/bin/windows/contrib/3.0 Warning: Unable to access index for Repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.0 Lost warning messages are: 1: In open.Connection(con, "r") : 'Cran.r-project.org' could not be connected to port 80. 2: package ːmaptools' is not available (for R version 3.0.2)

Can anyone tell me how to handle ?

  • 1

    Give more information about your session (R version, Operating System etc.). Anyway, I would try another repository and check the internet.

  • 1

    As you can see here (http://cran.r-project.org/web/packages/maptools/index.html) maptools is available for any version of R higher than R 2.10. I believe it may be a problem in your connection or in that particular repository.

  • 1

    Rafael, is this a work computer? It seems that access to the CRAN mirrors have been blocked.

  • Yes and the computer of my internship ! I tried with ADM login but not the right one !

  • I am on Windows 7 version of R 3.0.3 64 bits

  • I can’t update existing packages either

  • Rafael, it is a network problem that you are using, you will have to see this with the IT area of your internship.

Show 2 more comments

1 answer

1


Rafael, if you are using the Rstudio just specify the path there where I put the red arrow and then install by typing the package name there in Packages.

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

inserir a descrição da imagem aqui

  • 1

    I’ll try again using ADM here from my internship !

  • 1

    It only worked in R Studio but I have version incompatibility, I’ll update it and see what !

Browser other questions tagged

You are not signed in. Login or sign up in order to post.