Displaying 3 results from an estimated 3 matches for "latticeextradata".
2019 Jul 15
1
Possible bug in `class<-` when a class-specific '[[.' method is defined
...toOrdinal_1.1-0.0
>> [109] fitdistrplus_1.0-14 brew_1.0-6
>>
>>
>
> However, even when I load almost all of those, I don't see the problem.
> I've got the same R version, and a newer Rstudio version (mine is
> 1.2.1335 on a Mac).? I couldn't load ] "latticeExtradata.table" and
> "fitdistrplusbrew", and I didn't check my package versions against yours.
>
> I'd suspect the issue is with RStudio somehow, because it needs to do a
> lot to maintain its environment view.? Do you see this when running R
> from the command lin...
2019 Jul 15
0
Possible bug in `class<-` when a class-specific '[[.' method is defined
...1.0 cluster_2.0.8 toOrdinal_1.1-0.0
> [109] fitdistrplus_1.0-14 brew_1.0-6
>
>
However, even when I load almost all of those, I don't see the problem.
I've got the same R version, and a newer Rstudio version (mine is
1.2.1335 on a Mac). I couldn't load ] "latticeExtradata.table" and
"fitdistrplusbrew", and I didn't check my package versions against yours.
I'd suspect the issue is with RStudio somehow, because it needs to do a
lot to maintain its environment view. Do you see this when running R
from the command line?
Duncan Murdoch
2019 Jul 15
4
Possible bug in `class<-` when a class-specific '[[.' method is defined
Hello,
Clean R 3.6.1 session on Ubuntu 19.04, RStudio 1.1.453. sessionInfo() at
the end.
I can reproduce this.
counttt <- 0
`[[.MYCLASS` = function(x, ...) {
counttt <<- counttt + 1
# browser()
x = NextMethod()
return(x)
}
df <- as.data.frame(matrix(1:20, nrow=5))
class(df) <- c("MYCLASS","data.frame")
counttt
#[1] 9
But there's more. I