[R] mtrace function
Mark.Bravington at csiro.au
Mark.Bravington at csiro.au
Sun Jan 1 09:00:36 CET 2012
Thanks for passing that on, Uwe.
There are two separate things here:
- Uwe's problem is a bug: there is an experimental source-code-debugging feature in 'debug' that doesn't work properly yet (pending a change in the 'parser' package) and for some stupid reason I'd set the default to "use experimental feature". I have changed that in the version I'm about to upload. sorry...
- The debug window having blank bits: see 'package?debug' and the "Display bugs" section where this is dealt with. AFAICS it's a long-standing problem with the tcl/tk and R. I use Windows XP and have no problems-- having followed my own advice in the doco ;).
bye
Mark
Mark Bravington
CSIRO CMIS
Marine Lab
Hobart
Australia
________________________________________
From: Uwe Ligges [ligges at statistik.tu-dortmund.de]
Sent: 30 December 2011 01:44
To: Enio Jelihovschi
Cc: r-help at r-project.org; Bravington, Mark (CMIS, Hobart)
Subject: Re: [R] mtrace function
This is something you should report to the maintainer.
I tried to reproduce (never using that package myself), and got when
trying the examples from ?mtrace:
library("debug")
mtrace(glm) # turns tracing on
Loading required package: parser
Loading required package: Rcpp
Error in numbered.id[n] <- attr(src.expr[[i]], "id") :
replacement has length zero
Mark, I think we need an update for CRAN.
> sessionInfo()
R version 2.14.1 (2011-12-22)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=C LC_CTYPE=German_Germany.1252
[3] LC_MONETARY=C LC_NUMERIC=C
[5] LC_TIME=C
attached base packages:
[1] tcltk tools stats graphics grDevices utils datasets
[8] methods base
other attached packages:
[1] parser_0.0-14 Rcpp_0.9.9 debug_1.2.40 mvbutils_2.5.101
Best,
Uwe Ligges
On 22.12.2011 17:59, Enio Jelihovschi wrote:
> 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]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list