[R] How to turn off warnings about class name conflicts
djnordlund at gmail.com
Wed Feb 14 10:16:13 CET 2018
On 2/13/2018 11:47 PM, Ayhan yuksel wrote:
> I am using two packages (quantmod and FRAPO)
> Quantmod and FRAPO both have a class names "zoo"
> R is displaying the following warning when I manipulate an object of class
> Found more than one class "zoo" in cache; using the first, from namespace
> Also defined by ‘FRAPO’
> The warning is displayed every time I manipulate a zoo object and becomes
> pretty annoying.
> I searched for a solution but couldn't found.
> A related but unanswered question is here:
> How can I turn off the warning?
> Reproducible example:
> Session Info (I am using Microsoft R):
> R version 3.4.3 (2017-11-30)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows >= 8 x64 (build 9200)
> Matrix products: default
>  LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
>  LC_MONETARY=English_United States.1252 LC_NUMERIC=C
>  LC_TIME=English_United States.1252
> attached base packages:
>  stats graphics grDevices utils datasets methods base
> other attached packages:
>  FRAPO_0.4-1 timeSeries_3022.101.2 timeDate_3012.100
>  slam_0.1-40 cccp_0.2-4 quantmod_0.4-12
>  xts_0.10-1 zoo_1.8-0 RevoUtils_10.0.7
> loaded via a namespace (and not attached):
>  Rcpp_0.12.10 lattice_0.20-35 codetools_0.2-15 grid_3.4.3
>  tools_3.4.3 compiler_3.4.3
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
I tried your example (in a clean session) under R-3.4.3 from CRAN and
Microsoft R Open 184.108.40.206 and did not get the message you are getting. I
suspect you have something in your workspace that is causing the problem.
Port Townsend, WA USA
More information about the R-help