I am trying to use a package that uses the package car which uses sigma in the stats package, but apparently my version of the stats package doesn't contain the function sigma. How can I go about fixing this? Thanks Error : object 'sigma' is not exported by 'namespace:stats' In addition: Warning messages: 1: package 'car' was built under R version 3.3.0 2: replacing previous import by 'stats::sigma' when loading 'pbkrtest' Error: package or namespace load failed for 'car' SessionInfo: R version 3.2.3 (2015-12-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows Server 2008 R2 x64 (build 7601) Service Pack 1 locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] JGR_1.7-16 iplots_1.1-7 JavaGD_0.6-1 rJava_0.9-8 ggplot2_2.0.0 png_0.1-7 loaded via a namespace (and not attached): [1] Rcpp_0.12.3 splines_3.2.3 MASS_7.3-45 munsell_0.4.3 colorspace_1.2-6 lattice_0.20-33 minqa_1.2.4 [8] plyr_1.8.3 tools_3.2.3 nnet_7.3-11 parallel_3.2.3 grid_3.2.3 gtable_0.1.2 nlme_3.1-124 [15] lme4_1.1-10 Matrix_1.2-3 nloptr_1.0.4 scales_0.3.0
Error loading object in stats package
3 messages · a.sanders at navitaire.com, Uwe Ligges, David Winsemius
See my answer to your other message. Best, Uwe Ligges
On 07.03.2016 21:34, a.sanders at navitaire.com wrote:
I am trying to use a package that uses the package car which uses sigma in the stats package, but apparently my version of the stats package doesn't contain the function sigma. How can I go about fixing this? Thanks Error : object 'sigma' is not exported by 'namespace:stats' In addition: Warning messages: 1: package 'car' was built under R version 3.3.0 2: replacing previous import by 'stats::sigma' when loading 'pbkrtest' Error: package or namespace load failed for 'car' SessionInfo: R version 3.2.3 (2015-12-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows Server 2008 R2 x64 (build 7601) Service Pack 1 locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] JGR_1.7-16 iplots_1.1-7 JavaGD_0.6-1 rJava_0.9-8 ggplot2_2.0.0 png_0.1-7 loaded via a namespace (and not attached): [1] Rcpp_0.12.3 splines_3.2.3 MASS_7.3-45 munsell_0.4.3 colorspace_1.2-6 lattice_0.20-33 minqa_1.2.4 [8] plyr_1.8.3 tools_3.2.3 nnet_7.3-11 parallel_3.2.3 grid_3.2.3 gtable_0.1.2 nlme_3.1-124 [15] lme4_1.1-10 Matrix_1.2-3 nloptr_1.0.4 scales_0.3.0 [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.
On Mar 7, 2016, at 12:34 PM, <a.sanders at navitaire.com> <a.sanders at navitaire.com> wrote: I am trying to use a package that uses the package car which uses sigma in the stats package, but apparently my version of the stats package doesn't contain the function sigma. How can I go about fixing this? Thanks Error : object 'sigma' is not exported by 'namespace:stats' In addition: Warning messages: 1: package 'car' was built under R version 3.3.0 2: replacing previous import by 'stats::sigma' when loading 'pbkrtest' Error: package or namespace load failed for 'car'
If you only provide the error message and not the code or a description of hte actions that lead to the error, you can only get speculation. (There is no function `sigma` in the stats package, although based on this exchange in R help that is about to change.)
Dec 11, 2015; 12:24pmRe: Updating Package Fails: Help on How to Fix Needed 3789 posts In reply to this post by William Dunlap On 11/12/2015 2:36 PM, William Dunlap wrote:
stats::sigma was added to R recently. It is is R-devel now, I don't know about yesterday's R-3.2.3.
As Rich saw, it's not. pbkrtest should have "Depends: R (>= 3.3.0)" instead of "Depends: R (>= 3.0.0)" in its DESCRIPTION. You can see it failed tests on CRAN. Duncan Murdoch
--- end quoted material from Dec posting
SessionInfo: R version 3.2.3 (2015-12-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows Server 2008 R2 x64 (build 7601) Service Pack 1 locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] JGR_1.7-16 iplots_1.1-7 JavaGD_0.6-1 rJava_0.9-8 ggplot2_2.0.0 png_0.1-7 loaded via a namespace (and not attached): [1] Rcpp_0.12.3 splines_3.2.3 MASS_7.3-45 munsell_0.4.3 colorspace_1.2-6 lattice_0.20-33 minqa_1.2.4 [8] plyr_1.8.3 tools_3.2.3 nnet_7.3-11 parallel_3.2.3 grid_3.2.3 gtable_0.1.2 nlme_3.1-124 [15] lme4_1.1-10 Matrix_1.2-3 nloptr_1.0.4 scales_0.3.0 [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.
David Winsemius Alameda, CA, USA