Top "S4" questions

The S4 object class system is one of the methods of object oriented programming in the R language.

R: what are Slots?

Does anyone know what a slot is in R? I did not find the explanation of its meaning. I get …

oop r s4 slot r-faq
class in R: S3 vs S4

I want to create a class in R, should I use S3 or S4 class? I read a lot of …

class r s4
How to access the slots of an S4 object in R

I'm working with wavelets on a program and I'm used the package wavelets to create the DWT of a time …

r s4 slots wavelet
Error: $ operator not defined for this S4 class

I'm trying to make a formula and I got the error: $ operator not defined for this S4 class with R. …

r error-handling s4
S4 class is not subsettable

I am trying to write a subsetting method for an S4 class. I get this S4 class is not subsettable …

r s4
How do I show the source code of an S4 function in a package?

I used the packages topGO in R to analyze gene enrichment with the following code: sampleGOdata <- new("topGOdata", …

r packages s4
How to properly document S4 class slots using Roxygen2?

For documenting classes with roxygen(2), specifying a title and description/details appears to be the same as for functions, methods, …

class r s4 slot roxygen2
Getting a slot's value of S4 objects?

So I have a spatialpolygons object in R; but I am not sure why I am unable to retrieve the "…

r spatial s4
How to properly document S4 methods using roxygen2

I've seen some discussions in SO and other places regarding how this should be or will be done in future …

r generics methods s4 roxygen2
What does the @ symbol mean in R?

In packages like marray and limma, when complex objects are loaded, they contain "members variables" that are accessed using the @ …

r s4