Thanks Daniel for your reply
However I get these warnings even I start with a fresh R session and remove
all objects (including hidden ones) before executing the mentioned codes
I also tried reinstalling these libraries including zoo and xts libraries,
but the problem continues
I guess this is a generic problem when we load two libraries with same
defined class names
Any idea ?
On 14 February 2018 at 12:16, Daniel Nordlund wrote:
> 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-4quantmod_0.4-12
>>  xts_0.10-1zoo_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]]
>> Rfirstname.lastname@example.org mailing list -- To UNSUBSCRIBE and more, see
>> PLEASE do read the posting guide http://www.R-project.org/posti
>> 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 126.96.36.199 and did not get the message you are getting. I
> suspect you have something in your workspace that is causing the problem.
> Daniel Nordlund
> Port Townsend, WA USA
[[alternative HTML version deleted]]
Remail@example.com 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.