[R] Problem loading SpareM package

Roger Bivand Roger.Bivand at nhh.no
Thu Oct 12 14:12:21 CEST 2006


On Thu, 12 Oct 2006, Coomaren Vencatasawmy wrote:

> Hi,
>  I have just installed R 2.4.0 and when I try to load SpareseM, I get
> the following error message
>  
> library(SparseM)
> Package SparseM (0.71) loaded.  To cite, see citation("SparseM")
> Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) : 
>         in 'SparseM' methods specified for export, but none defined: as.matrix.csr, as.matrix.csc, as.matrix.ssr, as.matrix.ssc, as.matrix.coo, as.matrix, t, coerce, dim, diff, diag, diag<-, det, norm, chol, backsolve, solve, model.matrix, model.response, %*%, %x%, image
> Error: package/namespace load failed for 'SparseM'
> 

Please re-install the package. All contributed packages using new-style 
classes need to be re-installed because the internal representation of 
such classes and methods has changed, see CHANGES TO S4 METHODS in NEWS. 
Doing:

update.packages(checkBuilt = TRUE)

will check your libraries for packages built under previous releases and 
replace them with ones built for the platform release.

>  
> I have contacted the package maintainers and they couldn't be of any help.
>  
> I do not recall getting this error in older R versions.
>  
> Regards
>  
> Coomaren
> 
> Send instant messages to your online friends http://uk.messenger.yahoo.com 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
> 

-- 
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



More information about the R-help mailing list