Displaying 20 results from an estimated 3000 matches similar to: "graphic problem: transparent window when starting mtrace() from package debug"
2011 Jul 23
0
graphic problem: transparent window when starting mtrace() from package debug
Deal R
,
when I use the package debug, mark a function with mtrace() and enter
into the browser like mechanism of debug a window displaying the code of
the marked function with the current line highlighted usually appears.
When I use GUIs other than ess or the standard R console sometimes this
window is totally transparent so it is not possible to see any code in
it. After closing/resizing
2006 Oct 23
0
FW: Debug package question
Dear list,
I received the response below from the package author of 'debug'. I
post it to the list, with Mark's approval, in case it is useful to
others too.
Regards, Matthew
-----Original Message-----
From: Mark.Bravington at csiro.au [mailto:Mark.Bravington at csiro.au]
Sent: 22 October 2006 23:53
To: Matthew Dowle
Cc: Mark.Bravington at csiro.au
Subject: RE: Debug package
2003 Apr 06
0
namespaces and assignment: a problem/question
This is a question about namespaces and assignment. It's occasioned because
one of my functions stopped working at about R1.6 with the arrival of
'namespace:base', and I'm anxious to find out what will happen when 1.7
arrives. But the question might be of more general relevance (hence my
desire to get it in before "lockdown" on 9th April).
I have a function
2004 Sep 27
1
mtrace and debug
Hello,
pointed to the article "Debugging Without (Too Many) Tears" of Mark
Bravington in Rnews Vol 3/3, December 2003 there is a package mvbutils
mentioned.
So I started to install this package from within R
> install.package(mvbutils)
I receive an error essage that this package is not found! Is due to a
merge,removal or rename of this package?
When I try to follow this
2006 Oct 18
1
strange error in mtrace
Dear useRs,
I am experiencing very strange error with Mark Bravington's package "debug".
I haven't seen them before.
Here is the sample session
> library(debug)
Loading required package: mvbutils
MVBUTILS: no "tasks" vector found in ROOT
Loading required package: tcltk
Loading Tcl/Tk interface ... done
> x<-function() return(1)
> mtrace(x)
> x()
Error
2010 Oct 29
2
how to debug (mtrace) a function defined inside a function?
Hi, everyone. I am using a fair amount of closures in my code. Problem i am
experiencing is i cannot figure out how to mtrace functions defined within a
function. There must be some way to name such function for mtrace to see it
and let me step into it. For example, say i have code
mymodel<-function(){
data<-numeric(0)
build<-function(){
data<<-1
}
m<-list()
2007 Apr 04
1
Need mtrace (malloc debugging) help
Hi all,
I am using "mtrace" malloc debugging utility to trace memory leaks in my
application.
I followed following steps:
1. Added mtrace() function in the beginning of my main function.
2. exported the MALLOC_TRACE environment variable.
$ export MALLOC_TRACE=memory.log
3. Run the program
4. trace the program for memory leaks.
$ mtrace <myprogram> $MALLOC_TRACE
But In
2012 Jan 24
1
debug package: mtrace fails
Hi all,
Since three month ago I started working with R professionally, I never did
it before, so I am such a newbie.
I am having some problems using the 'debug' package. I love this package,
but most of the times I wanna use it it just fails :P
When typing at prompt 'mtrace(myfunct)' most of the times I get the
following error:
"Error in x[[i]] : subscript out of
2010 May 04
0
masking of objects between mtrace() and getYahooData()
I am using getYahooData from TTR to get daily data. When i do it standalone,
it is fine. It also works fine inside my code. However, when i run code
inside mtrace(), i always get the following error:
Error in xts(cbind(adj[[1]], adj[[2]]), index(obj)):
order.by requires an appropriate time-based object
After a lot of hand wringing, it looks to me that it happens because index
in xts masks
2009 Apr 13
0
debug/mtrace problem
Hello,
In the past I have used intensively the mtrace function from the debug
package, but now with my actual version of R(2.8.1) , it is impossible
to use it anymore.
I've updated all my packages, and I don't understand how solve this
problem...
Here is an example code :
> foo<-function(){cat("Test Function")}
> mtrace(foo)
> foo() # A tcl/tk windows open
2011 Dec 22
1
mtrace function
I use windows xp. When trying to use the function mtrace from package debug
the window that should open with the function to be debugged do not show
any text at all. It shows only a part of my desktop. Does anyone know why.
Is there any imcompatibility between windows xp and debug package.
Thanks in advance.
Enio Jelihovschi
[[alternative HTML version deleted]]
2004 Mar 25
1
mlocal/mtrace inside a loop
Hello
I need some help in figuring Bravington’s debugger
out.
Ok
I have 2 functions, fun1 and fun2 saved in a ASCII
file say filename is funs.
Fun1 has a loop which calls fun2, fun2 has a loop
which fails and I need to find out the value of the
variables of the fun2 and fun1 loops at the specific
iteration that fails. Both fun1 and fun2 loops will
iterate thousands of times so line by line debug
2007 May 12
1
mtrace() fails
I find the R debug package very useful. I've installed and used it on
several of the machines I use, without problems, but on one machine I
get the following error:
Loading required package: mvbutils
Loading required package: utils
MVBUTILS: no "tasks" vector found in ROOT
Loading required package: tcltk
Loading Tcl/Tk interface ... done
[Previously saved
2017 Mar 29
2
Alternativa a RStudio
Estimados
Leí todas las sugerencias y estoy probando, un criterio que tomé es tener algo minimalista, emacs puede estar con pocos iconos, comienzo por este porque está en https://www.r-project.org/other-projects.html .
Realicé dos intentos, uno es utilizando Windows 10 con bash, instalando desde los repositorios de Ubuntu, el segundo intento es instalando la versión para Windows, la primera de
2017 Mar 22
2
Alternativa a RStudio
Hola,
No sé si sabes que puedes usar "VIM" como editor dentro de RStudio.
En la barra de menú superior:
Tools >> Global Options >> (en la ventana que aparece) Code >> Editing >> Y
entre las diferentes opciones que aparecen, a mitad de altura de esa
pantalla aparece "Keybindins" un desplegable... ahí podrás seleccionar
"Vim"...
Saludos,
2004 Jan 22
0
FW: Réf. : Packages debug and mvbutils
Please use the CRAN versions, not the ftp versions which are now out-of-date. Both packages are on base CRAN now, but may not have propagated to all mirrors yet. (But thanks to Gerald for responding-- I had de-subscribed from R-help.)
For anyone using the HANDY package (a Windows-specific package which includes a non-C DLL, so I can't CRAN it): I'll post an updated version on the ftp site
2003 May 02
0
predict (PR#2686)
Hmmm-- still looks like a bug to me! But as I don't want to hog the
airwaves, here's my last summary on this point, with a question:
[Bravington]
#> Prediction from the original data was just an example, of course; my
general
#> proposal is that inactive factor levels in the prediction set should be
#> dropped. I don't see how this could ever cause inconsistent behaviour
2004 Sep 16
0
FW: Parsing multi-line strings. Bug? Feature?
> Kevin Wright <kwright@eskimo.com> writes:
>
> > R 1.9.1 requires multi-line strings to contain a backslash at the
> > end of each line (except the last line). As noted by Mark
> > Bravington (http://tolstoy.newcastle.edu.au/R/help/02b/5199.html)
> > this requirement appears to be undocumented.
> >
> > In S-Plus 6.2, multi-line strings do
2002 May 16
0
(PR#1556)
lib.fixup
My previous post mentions a problem encountered when calling ".Internal(
lib.fixup..." in R1.5.0. I have since found a workaround. It's possible in
R1.5.0 to set attributes of search path environments directly, like so:
> env_ pos.to.env( 3)
> attr( env, 'any.attr')_ 'any.value'
> pos.to.env( 3)
<environment: package:tcltk>
2002 Dec 27
0
parse and pushBack (PR#2396)
Is this the last bug of the year? Well, it's the last one from me, anyway...
The "parse" function seems to give erratic behaviour when used in
conjunction with "pushBack" on an open connection (R1.6.1, Windows 2000).
Try this:
> { cat( c( '1', 'a+b', '2'), file='r123.r', sep='\n');
tcon_ file( 'r123.r'); open( tcon);