Dear R list, I've just installed R and then followed the instructions to install the package "geoR" from within R by using the following line of code: install.packages("geoR", contriburl = "http://www.est.ufpr.br/geoR/windows") This installed okay under the folder C:\documents and settings\ ... But when I follow the instructions in the illustrative session for geoR, I enter library(geoR) and keep getting the following message: can't find package sp Any suggestions? Terrence E. Murphy, Ph.D. Program on Aging Yale University 1 Church St., 7th Floor New Haven, CT 06437 terrence.murphy at yale.edu phone: 203-764-9805 fax: 203-764-9831
Try adding depend=TRUE to install.packages() and see if that helps. Andy From: Terrence Murphy> > Dear R list, > > I've just installed R and then followed the instructions to > install the > package "geoR" from within R by using the following line of code: > > install.packages("geoR", contriburl = > "http://www.est.ufpr.br/geoR/windows") > > This installed okay under the folder C:\documents and settings\ ... > > But when I follow the instructions in the illustrative > session for geoR, I > enter > > library(geoR) > > and keep getting the following message: can't find package sp > > Any suggestions? > > > > Terrence E. Murphy, Ph.D. > Program on Aging > Yale University > 1 Church St., 7th Floor > New Haven, CT 06437 > terrence.murphy at yale.edu > phone: 203-764-9805 > fax: 203-764-9831 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >
On Fri, 17 Mar 2006, Terrence Murphy wrote:> Dear R list, > > I've just installed R and then followed the instructions to install the > package "geoR" from within R by using the following line of code: > > install.packages("geoR", contriburl = "http://www.est.ufpr.br/geoR/windows") > > This installed okay under the folder C:\documents and settings\ ... > > But when I follow the instructions in the illustrative session for geoR, I > enter > > library(geoR) > > and keep getting the following message: can't find package sp >The geoR package now depends on the sp package. So please install that package to resolve the missing dependency.> Any suggestions? > > > > Terrence E. Murphy, Ph.D. > Program on Aging > Yale University > 1 Church St., 7th Floor > New Haven, CT 06437 > terrence.murphy at yale.edu > phone: 203-764-9805 > fax: 203-764-9831 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no
geoR depends on the package "sp" which needs to be installed as well On Fri, 17 Mar 2006, Terrence Murphy wrote:> Date: Fri, 17 Mar 2006 14:16:06 -0500 > From: Terrence Murphy <Terrence.Murphy at yale.edu> > To: r-help at stat.math.ethz.ch > Subject: [R] can't load "geoR" > > Dear R list, > > I've just installed R and then followed the instructions to install the > package "geoR" from within R by using the following line of code: > > install.packages("geoR", contriburl = "http://www.est.ufpr.br/geoR/windows") > > This installed okay under the folder C:\documents and settings\ ... > > But when I follow the instructions in the illustrative session for geoR, I > enter > > library(geoR) > > and keep getting the following message: can't find package sp > > Any suggestions? > > > > Terrence E. Murphy, Ph.D. > Program on Aging > Yale University > 1 Church St., 7th Floor > New Haven, CT 06437 > terrence.murphy at yale.edu > phone: 203-764-9805 > fax: 203-764-9831 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >Paulo Justiniano Ribeiro Jr LEG (Laborat?rio de Estat?stica e Geoinforma??o) Departamento de Estat?stica Universidade Federal do Paran? Caixa Postal 19.081 CEP 81.531-990 Curitiba, PR - Brasil Tel: (+55) 41 3361 3573 Fax: (+55) 41 3361 3141 e-mail: paulojus at est.ufpr.br http://www.est.ufpr.br/~paulojus