Skip to content
Prev 51834 / 63424 Next

S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment

On 19 April 2016 at 11:21, Hadley Wickham wrote:
| This might be too big a change - but is it worth reconsidering the
| behaviour of Rscript? Maybe the simplest fix would be simply to always
| load the methods package.  (I think historically it didn't because
| loading methods took a long time, but that is no longer true)

FWIW littler has always loaded package 'methods' at startup (because I found
this Rscript 'feature' to be too insufferable) -- and of course still starts
in about half the time as Rscript.

Dirk

Thread (13 messages)

Kirill Müller S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 18 Kirill Müller S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 18 Michael Lawrence S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 18 Kirill Müller S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 18 Michael Lawrence S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 19 Gabriel Becker S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 19 Michael Lawrence S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 19 Gabriel Becker S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 19 Hadley Wickham S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 19 Henrik Bengtsson S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 19 Dirk Eddelbuettel S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 19 Michael Lawrence S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 19 Martin Maechler S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment Apr 20