Skip to content

package installation fails only for "sp"

5 messages · Peter Dalgaard, Brian Ripley, Don McKenzie

#
I have escaped Splus for Windows (mostly) and have started using
R (v 2.3.1 on i686 redhat).  Installing packages has been routine except
for "sp" (classes and methods for spatial data).  I get the following error
message

 > install.packages("sp")
Warning in download.packages(unique(pkgs),destdir=tmpd,available=available,:
            no package 'sp'  at the repositories
 
Clearly I am missing something (probably obvious), but can someone 
enlighten me
as to why the behavior of this package installation is different from 
others?  sp is
listed under "Contributed packages" at the R-project URL.  Thank you
for your time.
#
Don McKenzie wrote:
Try looking at the Depends: field....
#
One thing you did miss was the request in the posting guide to update to 
the latest version of R before posting.

Note that it is the download that fails, not the installation.  There is a 
binary versioon of 'sp' for R 2.3.x on the CRAN master, so it looks like a 
problem with the CRAN mirror you are using -- but of course I don't have 
an outdated version of R installed to cross-check.
On Fri, 1 Dec 2006, Don McKenzie wrote:

            

  
    
#
Sorry, I missed that 'i686 redhat' might mean Red Hat, that is a form of 
Linux.  The advice in the first para applies: the current version of 'sp' 
in the source area on CRAN is for R>=2.4.0: see

http://cran.r-project.org/src/contrib/Descriptions/sp.html

If you cannot update your R, there are versions of 'sp' available in the 
Archive area on CRAN that willl work with R 2.3.1.
On Sat, 2 Dec 2006, Prof Brian Ripley wrote: