Displaying 4 results from an estimated 4 matches for "showdefault".
2007 Sep 25
1
'load' does not properly add 'show' methods for classes extending 'list'
The GeneSetCollection class in the Bioconductor package GSEABase
extends 'list'
> library(GSEABase)
> showClass("GeneSetCollection")
Slots:
Name: .Data
Class: list
Extends:
Class "list", from data part
Class "vector", by class "list", distance 2
Class "AssayData", by class "list", distance 2
If I create
2020 Oct 26
0
Change to I() in R 4.1
...ng to get slot "package" from an object of a basic class ("NULL") with no slots
> IM
----------- FAILURE REPORT --------------
--- failure: length > 1 in coercion to logical ---
--- srcref ---
:
--- package (from environment) ---
methods
--- call from context ---
showDefault(object)
--- call from argument ---
!is.null(clDef) && isS4(object) && is.na(match(clDef at className,
.BasicClasses))
--- R stacktrace ---
where 1: showDefault(object)
where 2: Error in showDefault(object) :
cannot get a slot ("slots") from an object of type &qu...
2020 Oct 23
2
Change to I() in R 4.1
Hi there,
Is that change in R-devel intentional?
library(Matrix)
m <- as(matrix(c(0, 1)), "sparseMatrix")
isS4(m)
# [1] TRUE
x <- I(m)
# Warning message:
# In `class<-`(x, unique.default(c("AsIs", oldClass(x)))) :
# Setting class(x) to multiple strings ("AsIs", "dgCMatrix", ...);
result will no longer be an S4 object
2020 Oct 30
2
Change to I() in R 4.1
...bject of a basic class ("NULL") with no slots
>> IM
> ----------- FAILURE REPORT --------------
> --- failure: length > 1 in coercion to logical ---
> --- srcref ---
> :
> --- package (from environment) ---
> methods
> --- call from context ---
> showDefault(object)
> --- call from argument ---
> !is.null(clDef) && isS4(object) && is.na(match(clDef at className,
> .BasicClasses))
> --- R stacktrace ---
> where 1: showDefault(object)
> where 2: Error in showDefault(object) :
> cannot get a slot ("slo...