In a newly downloaded version (today) of R-2-4-0alpha, with all packages from CRAN also installed today, I get:> library(Matrix)Erro en loadNamespace(package, c(which.lib.loc, lib.loc), keep.source keep.source) : in 'Matrix' methods specified for export, but none defined: BIC, anova, coef, confint, deviance, fitted, fixef, formula, head, lmer, logLik, mcmcsamp, plot, qqmath, ranef, residuals, resid, simulate, summary, tail, terms, update, vcov, VarCorr, with, cbind2, rbind2, Arith, Math, Math2, Summary, Compare, !, +, %*%, Schur, as.array, as.matrix, as.vector, band, chol, colMeans, colSums, coerce, crossprod, determinant, diag, dim, dimnames, dimnames<-, expand, expm, kronecker, image, isSymmetric, norm, rcond, rowMeans, rowSums, show, solve, t, tcrossprod, tril, triu Error: package/namespace load failed for 'Matrix'> sessionInfo()R version 2.4.0 alpha (2006-09-05 r39134) i386-pc-mingw32 locale: LC_COLLATE=Spanish_Chile.1252;LC_CTYPE=Spanish_Chile.1252;LC_MONETARY=Spanish_Chile.1252;LC_NUMERIC=C;LC_TIME=Spanish_Chile.1252 attached base packages: [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base" other attached packages: lattice "0.13-10" Kjetil [[alternative HTML version deleted]]
As you may know from the R-devel list, things are very fluid re S4 just now. Which CRAN mirror did you use? Windows 2.4 packages are only just on the master and may not have got to mirrors yet. It does work for me compiling from source: you may want to try that. B. On Thu, 7 Sep 2006, Kjetil Halvorsen wrote:> In a newly downloaded version (today) of R-2-4-0alpha, with all packages > from CRAN also installed today, I get: > > > library(Matrix) > Erro en loadNamespace(package, c(which.lib.loc, lib.loc), keep.source > keep.source) : > in 'Matrix' methods specified for export, but none defined: BIC, > anova, coef, confint, deviance, fitted, fixef, formula, head, lmer, logLik, > mcmcsamp, plot, qqmath, ranef, residuals, resid, simulate, summary, tail, > terms, update, vcov, VarCorr, with, cbind2, rbind2, Arith, Math, Math2, > Summary, Compare, !, +, %*%, Schur, as.array, as.matrix, as.vector, band, > chol, colMeans, colSums, coerce, crossprod, determinant, diag, dim, > dimnames, dimnames<-, expand, expm, kronecker, image, isSymmetric, norm, > rcond, rowMeans, rowSums, show, solve, t, tcrossprod, tril, triu > Error: package/namespace load failed for 'Matrix' > > sessionInfo() > R version 2.4.0 alpha (2006-09-05 r39134) > i386-pc-mingw32 > > locale: > LC_COLLATE=Spanish_Chile.1252;LC_CTYPE=Spanish_Chile.1252;LC_MONETARY=Spanish_Chile.1252;LC_NUMERIC=C;LC_TIME=Spanish_Chile.1252 > > attached base packages: > [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" > [7] "base" > > other attached packages: > lattice > "0.13-10" > > > Kjetil > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Sounds like you don't have a version Matrix installed from source for 2.4.0. As mentioned earlier on this list, the caching mechanism has changed for methods, and all packages need to be installed from source to get the correct objects. Works fine for me with an installation of Matrix from source (version 0.995-15). Try something like this: > objects("package:Matrix", all=TRUE, pattern = "Schur") [1] ".__M__Schur:Matrix" ".__T__Schur:Matrix" "Schur" You should see two weirdly named objects, plus the function Schur(). Kjetil Halvorsen wrote:> In a newly downloaded version (today) of R-2-4-0alpha, with all packages > from CRAN also installed today, I get: > > >> library(Matrix) >> > Erro en loadNamespace(package, c(which.lib.loc, lib.loc), keep.source > keep.source) : > in 'Matrix' methods specified for export, but none defined: BIC, > anova, coef, confint, deviance, fitted, fixef, formula, head, lmer, logLik, > mcmcsamp, plot, qqmath, ranef, residuals, resid, simulate, summary, tail, > terms, update, vcov, VarCorr, with, cbind2, rbind2, Arith, Math, Math2, > Summary, Compare, !, +, %*%, Schur, as.array, as.matrix, as.vector, band, > chol, colMeans, colSums, coerce, crossprod, determinant, diag, dim, > dimnames, dimnames<-, expand, expm, kronecker, image, isSymmetric, norm, > rcond, rowMeans, rowSums, show, solve, t, tcrossprod, tril, triu > Error: package/namespace load failed for 'Matrix' > >> sessionInfo() >> > R version 2.4.0 alpha (2006-09-05 r39134) > i386-pc-mingw32 > > locale: > LC_COLLATE=Spanish_Chile.1252;LC_CTYPE=Spanish_Chile.1252;LC_MONETARY=Spanish_Chile.1252;LC_NUMERIC=C;LC_TIME=Spanish_Chile.1252 > > attached base packages: > [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" > [7] "base" > > other attached packages: > lattice > "0.13-10" > > > Kjetil > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > >[[alternative HTML version deleted]]
Seemingly Similar Threads
- package check fail on Windows-release only?
- Problem with loading "library(Matrix)" at Ubuntu
- R en Jupyter Lab, error al cargar dplyr: "namespace 'rlang' 0.3.4 is being loaded, but >= 0.4.0 is required"
- Proper way to define cbind, rbind for s4 classes in package
- Proper way to define cbind, rbind for s4 classes in package