[R] mtrace() fails

Prof Brian Ripley
2007-05-13T05:51:56Z

That error message is the symptom of

     o	rbind() failed if the only data frame had 0 rows. (PR#9657)

so please try R-patched.  If that does not work, you will need to do some
debugging (see `Writing R Extensions') on your own setup and talk to the
maintainer of the package (see the posting guide).

On Sat, 12 May 2007, Norm Matloff wrote:

> 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 workspace restored]
>
>   > source("marbles.r")
>   > mtrace(sim4)
>   > sim4(100)
>   Error in all.levs[[j]] : subscript out of bounds
>
> Here's my setting:
>
>   > sessionInfo()
>   R version 2.5.0 (2007-04-23)
>   i686-redhat-linux-gnu
>
>   locale:
>
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
>
>   attached base packages:
>   [1] "stats"     "graphics"  "grDevices"
"datasets"  "tcltk"     "utils"
>   [7] "methods"   "base"
>
>   other attached packages:
>      debug mvbutils
>   "1.1.0"  "1.1.1"
>
> Any suggestions anyone might have would be highly appreciated.
>
> Norm Matloff
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>

--
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595