I have always used the R spatial packages on my home computer. I wanted to use them on my department's server, but of course you can't install packages to the local directories. I thought I could download the necessary packages into my directory and use the lib.loc option in library(). Everything was going smoothly until I got to the 'sp' package: > library(sp, lib.loc="w:/R_Packages") Error in load(dataFile, ns) : ReadItem: unknown type 241 In addition: Warning message: package 'sp' was built under R version 2.3.0 Error: unable to load R code in package 'sp' Error: package/namespace load failed for 'sp' The R version on the server is 2.2.1 and the 'sp' version is 0.8-14. Anyone know any conflicts or problems with the package? By the way, my ultimate goal is just to use the globalG.test() in 'spdep' so I would be open to workarounds that didn't require 'sp'. Thanks for your time. Matt Moehr ----------------------------------- Matthew J Moehr mmoehr at ssc.wisc.edu Graduate Research Assistant Applied Population Laboratory Department of Rural Sociology University of Wisconsin - Madison 350 Agriculture Hall 1450 Linden Drive Madison WI 53706 Tel: 608.265.8029 Fax: 608.262.6022
Install problem with 'sp'
3 messages · Matt Moehr, Thomas Adams, Roger Bivand
Matt, Sorry, I do not have a very good solution ? I encountered this exact problem and with the frustrations I had at the time, I reverted back to R 2.2.1. Life is good again? BTW, I'm using Redhat Enterprise 3 Linux. Tom
Matt Moehr wrote:
I have always used the R spatial packages on my home computer. I wanted to use them on my department's server, but of course you can't install packages to the local directories. I thought I could download the necessary packages into my directory and use the lib.loc option in library(). Everything was going smoothly until I got to the 'sp' package:
> library(sp, lib.loc="w:/R_Packages")
Error in load(dataFile, ns) : ReadItem: unknown type 241 In addition: Warning message: package 'sp' was built under R version 2.3.0 Error: unable to load R code in package 'sp' Error: package/namespace load failed for 'sp' The R version on the server is 2.2.1 and the 'sp' version is 0.8-14. Anyone know any conflicts or problems with the package? By the way, my ultimate goal is just to use the globalG.test() in 'spdep' so I would be open to workarounds that didn't require 'sp'. Thanks for your time. Matt Moehr ----------------------------------- Matthew J Moehr mmoehr at ssc.wisc.edu Graduate Research Assistant Applied Population Laboratory Department of Rural Sociology University of Wisconsin - Madison 350 Agriculture Hall 1450 Linden Drive Madison WI 53706 Tel: 608.265.8029 Fax: 608.262.6022
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Thomas E Adams National Weather Service Ohio River Forecast Center 1901 South State Route 134 Wilmington, OH 45177 EMAIL: thomas.adams at noaa.gov VOICE: 937-383-0528 FAX: 937-383-0033
WARNING! useR 2006 now up and running, so list response time attenuated! Please make sure you download the bin/windows/contrib/2.2, not the 2.3 version. Please report with a few more details - are you using or setting .libPath()? Roger
On Tue, 13 Jun 2006, Matt Moehr wrote:
I have always used the R spatial packages on my home computer. I wanted to use them on my department's server, but of course you can't install packages to the local directories. I thought I could download the necessary packages into my directory and use the lib.loc option in library(). Everything was going smoothly until I got to the 'sp' package:
> library(sp, lib.loc="w:/R_Packages")
Error in load(dataFile, ns) : ReadItem: unknown type 241 In addition: Warning message: package 'sp' was built under R version 2.3.0 Error: unable to load R code in package 'sp' Error: package/namespace load failed for 'sp' The R version on the server is 2.2.1 and the 'sp' version is 0.8-14. Anyone know any conflicts or problems with the package? By the way, my ultimate goal is just to use the globalG.test() in 'spdep' so I would be open to workarounds that didn't require 'sp'. Thanks for your time. Matt Moehr ----------------------------------- Matthew J Moehr mmoehr at ssc.wisc.edu Graduate Research Assistant Applied Population Laboratory Department of Rural Sociology University of Wisconsin - Madison 350 Agriculture Hall 1450 Linden Drive Madison WI 53706 Tel: 608.265.8029 Fax: 608.262.6022
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo
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