Displaying 8 results from an estimated 8 matches for "tracingst".
Did you mean:
tracings
2014 Oct 02
3
debuggingState() analogous to tracingState() ?
We have had some conversation within R core,
lead by Duncan Murdoch and me, about a proposal
to extend the current tracingState() functionality
by something tentatively called debuggingState().
Duncan has allowed me to copy the previous conversation
(after very minor editing):
The following is quite technical and assumes you know more about
R's debug()ing and trace()ing than an estimated 99.9% of the R users:
>...
2007 Dec 06
1
trace() problems (PR#10498)
trace() seems to be broken in 2.6.1 and R-devel:
Try the example from the ?debug man page:
> library(methods)
> trace("plot", browser, exit=browser, signature = c("track",
+ "missing"))
Error in getFunction(what, where = whereF) : no function "plot" found
Okay, it's just an example that doesn't work. Let's try a simpler one,
2006 Nov 21
1
strange R GUI crash
Hi all,
I know I shouldn't really expect the following to work, but it
provokes a crash of the GUI on my computer (Win xp professional).
---
>sessionInfo()
Version 2.3.1 (2006-06-01)
i386-pc-mingw32
attached base packages:
[1] "methods" "stats" "graphics" "grDevices" "utils" "datasets"
[7] "base"
2008 May 23
1
seeing an S4 method, not using it
...m, solved the problem (!). I used:
> trace("show",browser, signature="pixmap")
> foo
Tracing structure(function (object) .... on entry
Called from: eval(expr, envir, enclos)
Browse[1]>
Pixmap image
Type : pixmap
Size : 0x0
Resolution : 0x0
Bounding box : 0 0 0 0
> tracingState(FALSE)
> foo
Pixmap image
Type : pixmap
Size : 0x0
Resolution : 0x0
Bounding box : 0 0 0 0
Running debug on trace, I found that the correct show method was used
after this command line:
methods::.TraceWithMethods("show", browser, signature = "pixmap", where
= .GlobalE...
2004 May 13
0
using trace() on S4 coerce method
...))
[1] "MyClass2"
> setAs("MyClass1","MyClass2",function(from,to)
new(to,a=as.character(from at a)))
> x <- new("MyClass1",a=20)
> as(x,"MyClass2")
An object of class "MyClass2"
Slot "a":
[1] "20"
> tracingState(on=TRUE)
[1] FALSE
> getMethod("coerce",c("MyClass1","MyClass2"))
Method Definition (Class "MethodDefinition"):
function (from, to = "MyClass2", strict = TRUE)
new(to, a = as.character(from at a))
Signatures:
from to
target...
2011 Dec 23
2
missing value where TRUE/FALSE needed
Merry Xmas to all,
I am writing a function and curiously this runs sometimes on one data set
and fails on another and i cannot figure out why.
Any help much appreciated.
If i run the code below with
data <- iris[ ,1:4]
The code runs fine, but if i run on a large dataset i get the following
error (showing data structures as matrix is large)
> str(cluster.data)
num [1:9985, 1:811] 0 0 0 0
2002 Oct 01
6
R-1.6.0 is released
...r not drawing, see ?grid.
o installed.packages() has a new argument `priority'.
o termplot() uses factor levels rather than 1,2,3... for x-axis.
o Workaround for optimization bugs on gcc 3.1/2 on 32-bit Solaris.
o The trace() function has been robustified and a new function
tracingState() added to turn tracing temporarily on and off.
o New cophenetic() in "mva" as utility for hierarchical clustering.
o p.adjust() has two new methods, 'Hommel' and 'FDR', contributed
by Gordon Smyth <smyth at wehi.edu.au>.
o stars() now has add and...
2002 Oct 01
6
R-1.6.0 is released
...r not drawing, see ?grid.
o installed.packages() has a new argument `priority'.
o termplot() uses factor levels rather than 1,2,3... for x-axis.
o Workaround for optimization bugs on gcc 3.1/2 on 32-bit Solaris.
o The trace() function has been robustified and a new function
tracingState() added to turn tracing temporarily on and off.
o New cophenetic() in "mva" as utility for hierarchical clustering.
o p.adjust() has two new methods, 'Hommel' and 'FDR', contributed
by Gordon Smyth <smyth at wehi.edu.au>.
o stars() now has add and...