[R-sig-Geo] A potential problem when using SparseM package and spgwr package together

Danlin Yu danlinyu at csd.uwm.edu
Tue Feb 1 18:57:34 CET 2005


I just found out that if you loaded the SparseM and spgwr packages at the
same time in R (2.0.1), spgwr won't work. The reason is that since the
function model.response() (which is intensively used in spgwr package) in
SparseM package requires different object class (an object of either
'matrix.csc.hb' or 'matrix.ssc.hb' class) than just a "data.frame".

Currently, the solution is to avoid loading the two packages together.
Hope this helps.

    Danlin Yu

Lecturer, Ph.D. Candidate
Department of Geography
University of Wisconsin, Milwaukee
Tel: (414)229-3943
Fax: (414)229-3981
Email: danlinyu at uwm.edu

More information about the R-sig-Geo mailing list