Piotr.Zuraniewski at agh.edu.pl
2007-Apr-29 18:43 UTC
[Rd] [debug] package - Error in all.levs (PR#9638)
Dear All, I encountered the following problem: fun1 <- function(x){ 2*cos(x) }>library(debug) > mtrace(fun1) > fun1(0.1)Error in all.levs[[j]] : subscript out of bounds> sessionInfo()R version 2.5.0 (2007-04-23) i386-pc-mingw32 locale: LC_COLLATE=Polish_Poland.1250;LC_CTYPE=Polish_Poland.1250; LC_MONETARY=Polish_Poland.1250;LC_NUMERIC=C;LC_TIME=Polish_Poland.1250 attached base packages: [1] "tcltk" "stats" "graphics" "grDevices" "utils" "datasets" "methods" "base" other attached packages: debug mvbutils waveslim polynom "1.1.0" "1.1.1" "1.6" "1.3-2" OS: WinXPSP1 Regards Piotrek Z
Prof Brian Ripley
2007-Apr-30 13:10 UTC
[Rd] [debug] package - Error in all.levs (PR#9638)
>From the FAQ:Finally, check carefully whether the bug is with R, or a contributed package. Bug reports on contributed packages should be sent first to the package maintainer, and only submitted to the R-bugs repository by package maintainers, mentioning the package in the subject line. 'debug' is a contributed package, and does not name you as the maintainer. Please do as we ask. On Sun, 29 Apr 2007, Piotr.Zuraniewski at agh.edu.pl wrote:> Dear All, > > I encountered the following problem: > > fun1 <- function(x){ > 2*cos(x) > } > >> library(debug) >> mtrace(fun1) >> fun1(0.1) > Error in all.levs[[j]] : subscript out of bounds > >> sessionInfo() > R version 2.5.0 (2007-04-23) > i386-pc-mingw32 > > locale: > LC_COLLATE=Polish_Poland.1250;LC_CTYPE=Polish_Poland.1250; > LC_MONETARY=Polish_Poland.1250;LC_NUMERIC=C;LC_TIME=Polish_Poland.1250 > > attached base packages: > [1] "tcltk" "stats" "graphics" "grDevices" "utils" "datasets" > "methods" "base" > > other attached packages: > debug mvbutils waveslim polynom > "1.1.0" "1.1.1" "1.6" "1.3-2" > > > OS: WinXPSP1 > > Regards > > Piotrek Z > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- 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