Re: [Rd] S3 weirdness

2021-06-25 Thread Johannes Rauh
" > Cc: "Simon Urbanek" , "r-devel@r-project.org" > > Betreff: Re: [Rd] S3 weirdness > > On Thu, Jun 24, 2021 at 4:48 PM Gabor Grothendieck > wrote: > > > The fact that zoo:: in one part of the code has a side effect in > > another seems not to be in

Re: [Rd] S3 weirdness

2021-06-24 Thread Gabriel Becker
On Thu, Jun 24, 2021 at 4:48 PM Gabor Grothendieck wrote: > The fact that zoo:: in one part of the code has a side effect in > another seems not to be in the spirit of functional programming or > modularity. > While this is true, there is no way I know of for a package function to...well, functi

Re: [Rd] S3 weirdness

2021-06-24 Thread Gabor Grothendieck
The fact that zoo:: in one part of the code has a side effect in another seems not to be in the spirit of functional programming or modularity. On Thu, Jun 24, 2021 at 6:51 PM Simon Urbanek wrote: > > Gabor, > > just by using zoo::read.zoo() you *do* load the namespace: > > > args(zoo::read.zoo)

Re: [Rd] S3 weirdness

2021-06-24 Thread Simon Urbanek
Gabor, just by using zoo::read.zoo() you *do* load the namespace: > args(zoo::read.zoo) function (file, format = "", tz = "", FUN = NULL, regular = FALSE, index.column = 1, drop = TRUE, FUN2 = NULL, split = NULL, aggregate = FALSE, ..., text, read = read.table) NULL > sessionInfo() R