Re: [Rd] Matrix package in R-2.4.0alpha

From: John Chambers <jmc_at_r-project.org>
Date: Thu 07 Sep 2006 - 18:55:35 GMT

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



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Sep 08 06:11:42 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 21:48:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.