[Rd] .Internal(inspect(x)) gives overly verbose output for reference classes

Richard Cotton richierocks at gmail.com
Wed Mar 7 15:52:47 CET 2012

Even for an extremely simple instance of a reference class

x <- setRefClass("x")
y <- x$new()

calling the internal inspect function


produces enough output that it takes several minutes to print to the
console.  (Actually I gave up and terminated the command after ~10
mins.  It isn't clear whether the output would eventually complete.)

Are reference classes really so complicated inside, or is this a bug?

More information about the R-devel mailing list