Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 199
Hint – Loading the library methods
ОглавлениеWhile the methods
package is always available when running R interactively (like in RStudio or in the R terminal), it is not necessarily loaded when running R in batch mode. So, you might want to include an explicit library(methods)
statement in your code when using S4.