RobMusk
2012-Jun-09 00:52 UTC
[R] Matrix package loading problem "Error : object ‘kronecker’ is not exported by 'namespace:methods'"
Hi R users all , I have a clean install of R-2.15.0 in a win32 machine and a problem loading Matrix 1.0-6 that looks like this:> library(Matrix)Loading required package: lattice Error : object ?kronecker? is not exported by 'namespace:methods' Error: package/namespace load failed for ?Matrix?>I understand that kronecker() now has an S4 generic in package methods. Is that a clue? I don't know what I can do with this. Here's my sessionInfo() and the library(Matrix) error again: R version 2.15.0 (2012-03-30) Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. Loading required package: tcltk Loading Tcl/Tk interface ... done Loading required package: Hmisc Loading required package: survival Loading required package: stats Loading required package: graphics Loading required package: splines Hmisc library by Frank E Harrell Jr Type library(help='Hmisc'), ?Overview, or ?Hmisc.Overview') to see overall documentation. NOTE:Hmisc no longer redefines [.factor to drop unused levels when subsetting. To get the old behavior of Hmisc type dropUnusedLevels(). Attaching package: ?Hmisc? The following object(s) are masked from ?package:survival?: untangle.specials The following object(s) are masked from ?package:base?: format.pval, round.POSIXt, trunc.POSIXt, units Loading required package: R2HTML starting httpd help server ... done If nothing happens, you should open ?http://127.0.0.1:31055/doc/html/index.html? yourself> sessionInfo()R version 2.15.0 (2012-03-30) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 [3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C [5] LC_TIME=English_Australia.1252 attached base packages: [1] grDevices datasets splines graphics stats tcltk utils [8] methods base other attached packages: [1] svSocket_0.9-53 TinnR_1.0-5 R2HTML_2.2 Hmisc_3.9-3 [5] survival_2.36-12 loaded via a namespace (and not attached): [1] cluster_1.14.2 grid_2.14.2 lattice_0.20-6 svMisc_0.9-65 tools_2.14.2> library(Matrix)Loading required package: lattice Error : object ?kronecker? is not exported by 'namespace:methods' Error: package/namespace load failed for ?Matrix?>-- View this message in context: http://r.789695.n4.nabble.com/Matrix-package-loading-problem-Error-object-kronecker-is-not-exported-by-namespace-methods-tp4632861.html Sent from the R help mailing list archive at Nabble.com.
Pascal Oettli
2012-Jun-09 04:02 UTC
[R] Re : Matrix package loading problem "Error : object ‘kronecker’ is not exported by 'namespace:methods'"
Hello, Did you upgrade your R version from a previous one to the current one? If yes, probably you should use:> update.packages(checkBuilt=TRUE).Best Regards, Pascal ----- Mail original ----- De?: RobMusk <rob.musk at forestrytas.com.au> ??: r-help at r-project.org Cc?: Envoy? le : Samedi 9 juin 2012 9h52 Objet?: [R] Matrix package loading problem "Error : object ?kronecker? is not exported by 'namespace:methods'" Hi R users all , I have a clean install of R-2.15.0 in a win32 machine and a problem loading Matrix 1.0-6 that looks like this:> library(Matrix)Loading required package: lattice Error : object ?kronecker? is not exported by 'namespace:methods' Error: package/namespace load failed for ?Matrix?>I understand that kronecker() now has an S4 generic in package methods. Is that a clue? I don't know what I can do with this. Here's my sessionInfo() and the library(Matrix)? error again: R version 2.15.0 (2012-03-30) Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. ? Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. Loading required package: tcltk Loading Tcl/Tk interface ... done Loading required package: Hmisc Loading required package: survival Loading required package: stats Loading required package: graphics Loading required package: splines Hmisc library by Frank E Harrell Jr Type library(help='Hmisc'), ?Overview, or ?Hmisc.Overview') to see overall documentation. NOTE:Hmisc no longer redefines [.factor to drop unused levels when subsetting.? To get the old behavior of Hmisc type dropUnusedLevels(). Attaching package: ?Hmisc? The following object(s) are masked from ?package:survival?: ? ? untangle.specials The following object(s) are masked from ?package:base?: ? ? format.pval, round.POSIXt, trunc.POSIXt, units Loading required package: R2HTML starting httpd help server ... done If nothing happens, you should open ?http://127.0.0.1:31055/doc/html/index.html? yourself> sessionInfo()R version 2.15.0 (2012-03-30) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_Australia.1252? LC_CTYPE=English_Australia.1252? [3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C? ? ? ? ? ? ? ? ? ? ? [5] LC_TIME=English_Australia.1252? ? attached base packages: [1] grDevices datasets? splines? graphics? stats? ? tcltk? ? utils? ? [8] methods? base? ? other attached packages: [1] svSocket_0.9-53? TinnR_1.0-5? ? ? R2HTML_2.2? ? ? Hmisc_3.9-3? ? [5] survival_2.36-12 loaded via a namespace (and not attached): [1] cluster_1.14.2 grid_2.14.2? ? lattice_0.20-6 svMisc_0.9-65? tools_2.14.2?> library(Matrix)Loading required package: lattice Error : object ?kronecker? is not exported by 'namespace:methods' Error: package/namespace load failed for ?Matrix?>-- View this message in context: http://r.789695.n4.nabble.com/Matrix-package-loading-problem-Error-object-kronecker-is-not-exported-by-namespace-methods-tp4632861.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help at r-project.org 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.
RobMusk
2012-Jun-09 23:56 UTC
[R] Re : Matrix package loading problem "Error : object ‘kronecker’ is not exported by 'namespace:methods'"
Thanks Pascal, but all my packages are current. That is not the problem. Regards, -- View this message in context: http://r.789695.n4.nabble.com/Matrix-package-loading-problem-Error-object-kronecker-is-not-exported-by-namespace-methods-tp4632861p4632911.html Sent from the R help mailing list archive at Nabble.com.