[Rd] tracing something in a namespace (PR#7091)

From: <rmh_at_temple.edu>
Date: Thu 15 Jul 2004 - 05:33:07 EST

# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
#       r-bugs@r-project.org
#
######################################################


> x <- rnorm(10)
> y <- 1:10
> xyplot(y ~ x)
> trace(lattice:::print.trellis, exit=recover)
[1] "print.trellis"
Warning message:
Assigning over the binding of symbol "print.trellis" in environment/package "lattice" in: .assignOverBinding(what, newFun, whereF)
> xyplot(y ~ x)
> untrace(lattice:::print.trellis)

Error in untrace(lattice:::print.trellis) :

        Argument what should be the name of a function
>

Something isn't right. I see three possibilities.

  1. tracing something in a namespace is prohibited and I didn't get an error, instead I got a warning.
  2. tracing in a namespace is acceptable, but the trace didn't work.
  3. untrace doesn't recognize lattice:::print.trellis as the name of a function, even though trace did.

--please do not edit the information below--

Version:
 platform = i386-pc-mingw32
 arch = i386
 os = mingw32
 system = i386, mingw32
 status =
 major = 1
 minor = 9.1
 year = 2004
 month = 06
 day = 21
 language = R

Windows XP Home Edition (build 2600) Service Pack 1.0

Search Path:
 .GlobalEnv, file:c:/HOME/rmh/hh/splus.library/HH/.RData, package:methods, package:stats, package:utils, package:multcomp, package:mvtnorm, package:abind, package:graphics, package:lattice, package:grid, Autoloads, package:base



R-devel@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel Received on Thu Jul 15 05:38:13 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 08:59:10 EST